How to fix OneDrive sign-in error, error code-CAA50021

Gokul R Dev 331 Reputation points
2024-03-05T04:05:35.49+00:00

Dear all,

One of my employee is trying to login to OneDriveMicrosoftTeams-image (4)

on an VM with Windows server OS and when sign in getting an error with error code - CAA50021. Attaching a snapshot of the same here with

OneDrive
OneDrive
A Microsoft file hosting and synchronization service.
1,137 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,792 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
22,069 questions
0 comments No comments
{count} votes

Accepted answer
  1. Jiajing Hua-MFST 10,560 Reputation points Microsoft Vendor
    2024-03-05T07:39:03+00:00

    Hi @Gokul R Dev

    Does this issue occur with OneDrive for web?

    • Remove Office credentials Type 'Credential Manager' in Search Box and open 'Windows credentials'. Remove the related credentials of the account.
    • Check if user device registration is enabled in Microsoft Entra ID
    • Leave and rejoin Microsoft Entra ID

    For details, please check out the last 2 methods in article: https://video2.skills-academy.com/en-us/office/troubleshoot/activation/activation-error-0xcaa50021

    Based on searching online, some users said using dsregcmd /cleanupaccounts command will be helpful for such issues. You may refer to The 5th's Pledger's reply in thread: https://video2.skills-academy.com/en-us/answers/questions/55562/microsoft-team-error-caa50021-resolution-requested


    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.



0 additional answers

Sort by: Most helpful

Your answer

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