Microsoft.aad.brokerplugin_cw5n1h2txyewy error code 2147024864

Toh Ang Poh 40 Reputation points
2023-03-04T05:20:51.07+00:00

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?

Microsoft 365
Microsoft 365
Formerly Office 365, is a line of subscription services offered by Microsoft which adds to and includes the Microsoft Office product line.
3,769 questions
Outlook
Outlook
A family of Microsoft email and calendar products.
2,954 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Toh Ang Poh 40 Reputation points
    2024-01-30T11:38:28.82+00:00

    Yes, the probem for me was due to Trend Micro Worry Free Anti-virus.

    2 people found this answer helpful.

  2. 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.

    1 person found this answer helpful.