Forum Discussion
Microsoft Teams and Outlook Lose Connection and Ask for Password
Hi we have several users (eight) who have all caught the same Microsoft Outlook and Teams bug.
We are an Office 365 shop and use the desktop versions of both Outlook and Teams. A few months ago users noticed that Outlook and Teams would break around the same time. Outlook would say "Need Password" along the bottom and Teams would have the banner "We ran into a problem. Reconnecting ... Refresh Now". When you click need password and put in your password nothing happens. Same goes for the "Refresh Now" in Teams. We did find that a reboot of the machine will fix the issue, Outlook and Teams will log in perfectly, for about a day and then it will break again.
What is interesting is that just a few weeks ago we found that if we created the following registry keys it fixed Outlook from breaking and asking for a password. The problem is that Teams still breaks. I am pretty sure they are related issues since they happen on the same machines and break at close to the same times.
- HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Common\Identity, create a DWORD value named EnableADAL and set it to zero.
- [HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Common\Identity "DisableADALatopWAMOverride"=dword:00000001
- [HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Common\Identity "DisableAADWAM"=dword:00000001
Steps Already Taken
Clearing out the Credential Manger
Reinstalling MS Office
Completely deleting and recreating the Windows Profile
Running "sfc /scannow"
Deleted the profile in Outlook and recreated it
Uninstall and reinstall Teams
The registry keys listed above that fixed the issue for Outlook
Removing and readding the work account under Settings>Accounts in Windows.
Had the same user use their current laptop and a different laptop simultaneously. Teams broke on the current laptop but not the new one.
Even completely wiped one user's computer and reinstalled Windows and the issue came back.
I also did all the steps that I could see in the following articles including running the scripts and the scrubbers.
OLicenseCleanup
signoutofwamaccount
WPJCleanUp
(Ran a scrubber to check for login issues)
Any help is greatly appreciated!
Thanks!
- Hi, this is difficult to troubleshoot remote without knowing anything else about your environment. But I would remove those registry keys and "start over". You simply shouldn't disable these. Perhaps you should open a proper support ticket instead too.
- haydenjohnsonCopper Contributor
Maybe you can help explain what those keys do then? Why does disabling them fix the problem? Thanks!
haydenjohnson As I mentioned you'd be better off with a proper support ticket with Microsoft.
"Disabling ADAL or WAM authentication as a solution to fix sign-in or activation issues can have adverse effects in your environment and is not recommended."
These reg keys where common like 2018/2019, not needed now with updated OS and applications.
But I suppose here's what happens, not being an expert on the process.
EnableADAL 0 = you disable modern authentication (ADAL/OAuth)
DisableADALatopWAMOverride 1 = you disable WAM (Web account manager) and revert to ADAL for Outlook
DisableAADWAM 1 = you disable the Azure AD WAM processWAM is the default token broker for W10 and is also associated with SSO/authentication.
You should instead use this if any. AlwaysUseMSOAuthForAutoDiscover 1 = force modern authentication