[Moderator note: personal info removed] Message: The credential is invalid. Unexpected sub status (6008). Tag: 657rx Code: 2148073

Angelina Xie 0 Reputation points
2025-12-16T19:01:37+00:00

Trying to sync my school account onedrive on my computer but error message as well as the email for the OneDrive is [Moderator note: personal info removed], instead of regular [Moderator note: personal info removed]
User's image

Microsoft 365 and Office | OneDrive | For education | Windows

1 answer

Sort by: Most helpful
  1. Alexis-NG 18,065 Reputation points Microsoft External Staff Moderator
    2025-12-16T20:12:26.0333333+00:00

    Hi @Angelina Xie,

    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 Error 657rx” , this typically means that your account credentials are not being recognized by Microsoft Teams. This can happen for a few reasons, I’d like to guide you through a few steps that can help you get signed in smoothly. These steps are designed to be easy to follow and tailored to your situation.  

    According to your description, the situation on your end is likely caused by your organization's settings/policies (e.g. conditional access policy).   

    You can try the following steps to clear your credentials cache to ensure a clean reset

    1. Please sign out your accounts from Office applications, then close all Office applications.   
    2. Open File Explorer, paste the following path, and delete all files and folders. %localappdata%\Packages\Microsoft.AAD.BrokerPlugin_cw5n1h2txyewy   
    3. In the Windows search bar, search for "Access Work or School".   
    4. 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 OneDrive.   
    • Select and remove those entries.   
    • Restart your computer and try adding your account in OneDrive 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 OneDrive and sign in with the correct account.

    Once you've completed all the steps above, please reset OneDrive by following this guide: Reset OneDrive - Microsoft Support

    If the issue persist after you reset OneDrive, please create a new user account:

    • Open Windows Settings: Click the Start button and select Settings (you can also press Windows + I).
    • Navigate to Accounts: In the left sidebar, click on Accounts, and then select Other users in the right pane.
    • Add an Account: Click the Add account button next to the "Add other user" label.
    • Choose Account Type:
    • For a Microsoft account, enter the user's email or phone number, then click Next. Follow the prompts to finish.
    • For a local account, click I don't have this person's sign-in information and select Add a user without a Microsoft account. Here, enter the username. You can choose to set a password or skip this step for the user to do it later. [*Set Account Permissions: If needed, you can later change the account type to Administrator. Locate the new account under Other users, click it, and select Change account type.

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

    Was this answer helpful?

    0 comments No comments

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.