Dear @Mary Sarabia,
Thank you for reaching out to Microsoft Q&A forum.
I understand you're having trouble logging into Excel with your Microsoft account. It seems the issue is related to the Windows Identity Broker (WAM) getting "stuck" on a specific user's credentials, even when you try to switch accounts. This typically happens when multiple users log into the same Windows profile and use different Microsoft 365 accounts, leaving the system to pull cached credentials for a previous user.
As a forum moderator, I genuinely wish I could directly access your account or delve into the backend systems to diagnose and fix this for you. However, our role here is limited to providing general guidance and solutions that can be applied by users.
Please follow the steps below to clear your credentials cache and ensure a fresh login:
- Please sign out your accounts from Office applications, then close all Office applications.
- Open File Explorer, paste the following path, and delete all files and folders. %localappdata%\Packages\Microsoft.AAD.BrokerPlugin_cw5n1h2txyewy
- In the Windows search bar, search for "Access Work or School".
- Check if you can see your school account in "Access Work or School".
If you don't see it, please select Connect and add your business account.
If you can see it, please select it and select Disconnect. After that, please click "Connect" and log into your account again to register the device.
- Open the Control Panel on your PC.
- Go to User Accounts > Credential Manager.
- Under both Windows Credentials and Generic Credentials, look for any entries related to your Microsoft 365 business account and Office apps.
- Select and remove those entries.
- Restart your computer and try adding your account in Office again.
Download OLicenseCleanup.vbs and run it. In this way, you can use this package to remove the license, clear the stored identities in the registry, and remove the credentials. You can follow this: Reset activation state for Microsoft 365 Apps for enterprise - Microsoft 365 Apps | Microsoft Learn to reset activation state
Restart your device.
Reopen Office apps and sign in with the correct account.
I hope this information is helpful. Please follow these steps and let me know if it works for you. If not, we can work together to resolve this.
Thank you for your patience and your understanding. If you have any questions or need further assistance, please feel free to share them in the comments on this post so I can continue to support you.
I look forward to your thoughts on this.
If the answer is helpful, please click "Accept Answer" and kindly upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.