Since you didn’t specify which operating system you’re using, I’ll provide a solution for Windows devices. If you’re using another OS such as macOS, iOS, or Android, please let me know so I can give you more accurate guidance.
Hi @Sara Souza,
Thank you for posting your question to the Microsoft Q&A forum.
Based on the error message you received: "The credential is invalid. Unexpected sub status (6008)" and maybe along with "Error 657rx", this typically means that your account credentials are not being recognized by Microsoft.
I'd like to walk you through a few steps that can help you log in smoothly. These steps are designed to be easy to follow and tailored to your situation.
You can try the following steps and then check if the problem persists:
- Sign out of your accounts in the Office apps, and then close all Office apps.
- Open File Explorer, paste the following path, and delete all files and folders: %localappdata%\Packages\Microsoft.AAD.BrokerPlugin_cw5n1h2txyewy
- Go to Settings > Accounts > Access work or school.
- Check to see if you can see your school account under "Access work or school."
- If you can see it, select it and click Disconnect. Then, click Connect and sign in again with your school account to register the device.
Next, clear the cached credentials:
- Open the Control Panel on your PC.
- Go to User Accounts → Credential Manager.
- In both the Windows Credentials and Generic Credentials sections, look for any entry related to your Microsoft 365 account.
- Select and remove these entries.
- Restart your PC and try to add your account back to Teams. Completely remove cached licenses and account data:
Download the OLicenseCleanup.vbs file and run it. As such, you can use this package to remove the license, delete identities cached in the HKCU registry, and remove credentials. For more details, see this article: Reset the activation state of Microsoft 365 Apps for enterprise.
- Restart your device.
- Reopen the OneDrive apps and sign in with the correct account.
Note: Please understand that our initial response does not always resolve the issue immediately. However, with your help and more detailed information, we can work together to find a solution.
I hope this information is useful. Follow these steps and let me know if it worked for you. If not, we can continue to work together to solve this.
Thank you for your patience and understanding. If you have any questions, please do not hesitate to reach out.
I'm looking forward to your response.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
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.