I’ve come across an issue when patching Windows 10 Pro workstations and wanted to post here to see if I can isolate what’s causing it.
For example, if I upgrade an existing user’s workstation from 20H1 to 22H2, more often than not there’s something that breaks the connection between Outlook and 365/Exchange. If you look at the connection status of Outlook, it just shows “authn error” but never prompts them for the password or to sign back in.
After scouring the internet, I’ve come across the fix which is to run the following command to repair the AAD broker plugin and if that doesn’t work, to rename the following folder
if(-not(Get-AppxPackageMicrosoft.AAD.BrokerPlugin)){Add-AppxPackage-Register”$env:windir\SystemApps\Microsoft.AAD.BrokerPlugin_cw5n1h2txyewy\Appxmanifest.xml”-DisableDevelopmentMode-ForceApplicationShutdown}Get-AppxPackageMicrosoft.AAD.BrokerPlugin
Rename
C:\users\%username%\AppData\Local\Packages\Microsoft.AAD.BrokerPlugin_cw5n1h2txyewy
to
C:\users\%username%\AppData\Local\Packages\Microsoft.AAD.BrokerPlugin_cw5n1h2txyewy.old
Anyone else here encounter this?
Moderator note: Edit to remove HTML. Please use “Text” tab in Entry box or “Paste as text” when you copy/paste.