Create two registry DWORD values:

HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Common\Identity, create a DWORD item named DisableADALatopWAMOverride and set it to 1.


HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Common\Identity, create a DWORD item named EnableADAL and set it to zero.


If those registry keys by themselves do not work, try the following extra values:

HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Common\Identity
"ADALContextsMigratedToSharedCache"=dword:00000001

HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Common\Identity
"DisableIsOwnerRegex"=dword:00000001

HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Outlook\AutoDiscover
"ExcludeExplicitO365Endpoint"=dword:00000001

HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Outlook\AutoDiscover
"ExcludeExplicitO365Endpoint"=dword:00000001


If the above 3 values do work, then a login box will appear and after successful login it may ask for "more information" and throw a browser error. If this happens, login to office.com and follow the prompts or ask an administrator to add your phone number to your Azure AD user information. Then, try logging in to office.com again and after that is successful, make sure Outlook is closed, and then reopen Outlook again.


If this does not work, it is possible Microsoft's identity key in the Registry is trying to connect to 2 different Office 365 accounts. If you have added a SECOND account to Outlook and clicked all the way through without reading what was going on, this is most likely the case. To fix this:

(1)    File>Account>under User Information, sign out all the existing account and exit all Office apps.


(2)    Sign out of all Work Accounts under Windows "Settings->Accounts->Access Work or School" and under Control Panel>User Accounts>credential manager>Windows Credentials, remove all Office 365 credentials that look like: MicrosoftOfficeXXData:XXXXXXXXX and 


(3)  Right click windows icon>Run>type "regedit" then press ENTER to open the redistry editor. Go to HKEY_CURRENT_USER\Software\Microsoft\Office\x.0\Common\Identit(where x is the latest/used version installed), delete the whole Identity folder


(4) (This step may be redundant) Uninstall Microsoft Office


(5) Reboot computer


(6) Reinstall Microsoft Office

*******BEFORE MOVING TO THE NEXT STEP PLEASE MAKE SURE YOU READ THIS*******

Make sure you are signing in to Microsoft/Office 365 with only ONE and your MAIN licensed Microsoft 365 accounts while accepting your defaults. When signing in with the secondary account (in some cases, you may be signing in with this account FIRST!), make sure you click "No, sign in to this app only" in the following window! You may also uncheck "Allow my organization to manage my device" as this may force a sign-in by your organization on that account.


(7) Sign in to Office using your main Microsoft credentials by opening an app like Excel first


(8) When adding the secondary accounts to Outlook, please manually configure the settings to sign in to Exchange and NOT Microsoft/Office 365.


If any of the steps are missed above, you will likely need to restart the whole process again as Microsoft does not like two Microsoft/Office 365 accounts on the same computer.


**NOTE: If you are trying to use an Exchange account in Outlook that is not the account you are licensing the Office software with, it might benefit you to select "Let me set up my account manually" when connecting the Exchange account in Outlook and select "Exchange" like in the images below:


Microsoft Rep original instructions:

https://answers.microsoft.com/en-us/msoffice/forum/msoffice_onedrivefb-mso_win10-mso_o365b/office-applications-constantly-ask-me-to-login/733bf126-054e-4189-9976-ac58220e5826


Disclaimer
This information is intended for general information purposes only and to assist customers in understanding system functionality. It should not be construed as legal advice or opinion on any specific facts or circumstances. You are advised to consult your own compliance staff or attorney regarding your specific questions or situation to ensure your compliance with company policies & procedures, applicable laws, and regulations.