Sign in required, work or school account problem

Christian Latta 0 Reputation points
2026-11-29T01:57:21.09+00:00

I repeatedly get a pop up saying Sign in required "Your device is having problems with your work or school account. Sign in again to access your organization's resources."

I have tried to sign in to any old work or school account I can think of, but that does not work.

I have tried other solutions that I have seen online such as going to Settings > Accounts > Your Accounts or Settings > Accounts > Access work or school, but there are no other accounts besides my personal account so I can not simply remove a work or school account, because there is no account there.

I have also gone to credentials and cleared everything that was not my personal account.

I am not sure what else to try. This issue started happening after I switched motherboard and CPU and needed to purchase a new Microsoft Windows license.

Windows for home | Windows 11 | Accounts, profiles, and login
0 comments No comments

2 answers

Sort by: Most helpful
  1. EmilyS726 284.2K Reputation points Independent Advisor
    2026-11-29T02:59:15.1233333+00:00

    Can you type cmd in the search on the taskbar to launch command prompt, then run this command

    dsregcmd /status
    

    Share a screenshot of the results, so I can review, and see what's triggering this ask, and how to remove it.

    Was this answer helpful?

    0 comments No comments

  2. AI answer

    2026-11-29T01:58:44.4066667+00:00

    Clear the Microsoft AAD BrokerPlugin cache, which can retain unusable work-account tokens after a motherboard replacement even when no work or school account appears in Settings.

    Clear the hidden sign-in cache

    This signs Microsoft apps out, but does not remove personal files.

    1. Save your work and close Edge, Outlook, Teams, OneDrive, and all Office applications.
    2. Press Windows key + R.
    3. Paste the following path and press Enter:
         %LOCALAPPDATA%\Packages\Microsoft.AAD.BrokerPlugin_cw5n1h2txyewy
      
    4. Delete all files and folders inside that folder, but do not delete or rename the Microsoft.AAD.BrokerPlugin_cw5n1h2txyewy folder itself.
    5. If Windows reports that files are in use:
      • Open Task Manager.
      • End remaining Office, Teams, OneDrive, and Edge processes.
      • If that still fails, sign out of Windows, sign back in, and repeat the deletion before opening those applications.
    6. Restart Windows.
    7. Sign in only with the personal Microsoft account when an application next requests authentication.

    This cache-clearing procedure is the reported resolution path for Microsoft sign-in failures following a motherboard replacement.^1^

    Since Access work or school is already empty and Credential Manager has already been cleared, there is no reason to repeat either action.

    Check for a hidden device registration

    If the popup returns, inspect the actual registration state before running any leave or recovery command:

    1. Open Windows Terminal normally, not as administrator. The user-related fields can be inaccurate when dsregcmd /status is run elevated.
    2. Run:
         dsregcmd /status
      
    3. Record these fields:
         Device State
           AzureAdJoined
           EnterpriseJoined
           DomainJoined
           DeviceAuthStatus
      
         User State
           WorkplaceJoined
           WamDefaultSet
           WamDefaultAuthority
      

    AzureAdJoined: YES means the PC is Microsoft Entra joined. WorkplaceJoined: YES indicates a Microsoft Entra registration associated with the current Windows profile, even if Settings does not visibly list the account.^2^

    Use the matching result:

    • AzureAdJoined: NO, DomainJoined: NO, and WorkplaceJoined: NO: the computer is not currently joined or registered to an organization. Do not run dsregcmd /leave or /forcerecovery. If clearing BrokerPlugin did not help, continue with the profile test below.
    • WorkplaceJoined: YES: a per-user work registration remains. Microsoft’s supported removal method is Settings → Accounts → Access work or school → account → Disconnect.^3^ Because that account is not visible in your case, avoid manually deleting certificates or registry entries; run the Get Help diagnostic described below.
    • AzureAdJoined: YES with DeviceAuthStatus: SUCCESS: the device is still valid in an organization. Do not force recovery merely because it is joined.
    • AzureAdJoined: YES with DeviceAuthStatus reporting that the device is deleted or disabled: recovery depends on the state. A disabled device must be re-enabled by that organization’s administrator. For a deleted Microsoft Entra-joined device, an administrator can run dsregcmd /forcerecovery, complete the displayed organizational sign-in, and then sign out and back in.^3^ This is inappropriate if the PC should now be personal-only or the necessary organizational account is unavailable.

    If no organizational registration remains

    Run the built-in sign-in diagnostic:

    1. Open Start → Get Help.
    2. Search for sign in to Microsoft Office.
    3. Run the Microsoft 365 sign-in troubleshooter and apply its findings.^4^

    If the diagnostic finds nothing, create a temporary local administrator under Settings → Accounts → Other users → Add account → I don’t have this person’s sign-in information → Add a user without a Microsoft account, then change its account type to Administrator. Sign into that profile and test for the popup. If it occurs only in the original profile, that localizes the problem to that profile; it does not by itself prove corruption. Microsoft’s documented fallback is to move personal data into the new profile, with some applications requiring reconfiguration or sign-in again.^5^


    References

    1. i have had to swap my motherboard, all is fine apart from microsoft sign in - Microsoft Q&A
    2. Troubleshoot devices by using the dsregcmd command
    3. Microsoft Entra device management FAQ
    4. Access work or school troubleshooter for restoring access to M365 desktop applications | Microsoft Support
    5. Fix a corrupted user profile | Microsoft Support
    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.