Duplicate AAD accounts
Tech Support

Intune Azure AD duplicate accounts stuck in ”Work or school users”

I have recently run into strange bug in Windows 10 where the same account “joins” the Azure Ad twice.

Thus, making office suite to not work properly. Outlook does not connect. MFA Login screen prompts every millisecond and disappears. Word/Excel won’t connect the user.

Tried to remove the user from AAD by disconnecting the tenant, logged back in to local user, tried to join the AAD again.. but same issue persisted.
It seems the issue started when Windows 10 got upgraded to 20H2.

Anyway, here is the solution:
Switch to a different account with admin rights, go to:
C:\Users\%username%\AppData\Local\Packages\Microsoft.AAD.BrokerPlugin\_cw5n1h2txyewy\AC\TokenBroker\Accounts

And remove all the files in there.
%username% – affected user profile name

After that, the second account should be gone. If Outlook still doesn‘t work, it might require to re-create a profile. You can find this tutorial here:

Outlook 365 continually prompts for password

7 thoughts on “Intune Azure AD duplicate accounts stuck in ”Work or school users”

  1. Windows 11, same issue, slightly different path, worked like a charm saving my life! Thank You!!!. I have joined over 11 computers to AzureAD, most of them firstly unjoined from local DC and used
    on all of them Microsoft suggested (And free for MS Sub users) PCmover Profile Migrator (https://store.laplink.com) to migrate unjoined DC profile to the newly created from AzureAD connect profile. Worked smoothly, but in CEOs computer got this duplicate accounts as described by the admin. Thank you once again!

  2. I’m stunned this doesn’t have more comments. THIS WORKED. As far as I can tell, this is the ONLY fix for this issue short of a full retire/delete/deregister from AAD and starting over. Thank you so much!!! Please put some kind of donation/buy me a coffee thing on your website so I can tip you.

  3. Very hard to track down a solution for this, but it worked. I tried everything short of deleting the local profile and starting over (which, based on this solution, would also have worked).

Leave a Reply

Your email address will not be published.