Yes, the probem for me was due to Trend Micro Worry Free Anti-virus.
Microsoft.aad.brokerplugin_cw5n1h2txyewy error code 2147024864
User is getting periodic Microsoft 365 login prompt.
From the event log, found the error Failure to load the application settings for package Microsoft.AAD.BrokerPlugin__cw5n1h2txyewy. Error Code: -2147024864
Source: AppModel-State.
Tried the Powershell script: if (-not (Get-AppxPackage Microsoft.AAD.BrokerPlugin)) { Add-AppxPackage -Register "$env:windir\SystemApps\Microsoft.AAD.BrokerPlugin_cw5n1h2txyewy\Appxmanifest.xml" -DisableDevelopmentMode -ForceApplicationShutdown } Get-AppxPackage Microsoft.AAD.BrokerPlugin
The problem did not go away.
What could be wrong?
2 answers
Sort by: Most helpful
-
-
Tom Boxall 5 Reputation points
2023-03-23T05:08:24.6333333+00:00 Try closing all Office apps and then clearing the %localappdata%\Microsoft\TokenBroker\Cache folder. One of those TBRES files contains the token for the Microsoft.AAD.BrokerPlugin.