How to Fix “Office 365 Error Code CAA50021”?

Read this tutorial to learn how to fix Office 365 error code CAA50021. Here we are going to discuss some possible ways to fix this error. 

Microsoft Office 365 is a cloud-based productivity suite that is mainly used for business. It includes various services like Microsoft Teams, Outlook, OneDrive, etc. Sometimes, when users try to log in to Microsoft apps they may fail and receive the CAA50021 error code.

What is Error Code CAA50021 in Office 365?

This error code typically indicates that there is an issue with user authentication in Microsoft Office applications. It occurs when the user tries to log in unsuccessfully many times.

There are several reasons to occur this error code if the device has issues with Azure Ad, security software can block login, conflicting credentials, using an outdated version of Office, or if the user’s device has been unlinked from their work or school account.

How to Fix Office 365 Error Code CAA50021?

Here are some ways to solve error code caa50021.

1. Re-register Device with Azure

  1. Press Windows + R to open the Run dialog box.
  2. Type cmd and press Enter.
  3. Type dsregcmd /leave in the Command Prompt window and press Enter.
  4. Delete the MS-Organization-Access and MS-Organization-PEP-Access entries from the certificate store.
  5. Type dsregcmd /status in the Command Prompt and press Enter.
  6. Now set the AzureAdJoined to NO.

This process will unregister your device with Azure. Now you can re-register it. To do this-

  1. Type Task Scheduler in the Windows search box.
  2. Click the Task Scheduler Library and choose Microsoft.
  3. Select the Windows option and click on Workspace Join.
  4. After that, launch the Automatic-Device-Join task.

2. Link Device to Your Work or School Account

Sometimes the device is not properly connected with the Azure AD. Ensure to check Windows settings and link the device.

  1. Press Windows + I to open Settings.
  2. Select Accounts from the left pane and click on Access work or school.
  3. Click on Connect and follow on screen instrctions to connect your device with Azure.

3. Delete Microsoft Office Credentials

Remove Office credentials and check this hlp you to fix error code CAA50021. To do this-

  1. Open Control Panel User Accounts.
  2. Click on Manage Windows Credentials under User Account.
  3. In the next window scroll down to find all credentials associated with Microsoft Office apps.
  4. Click on remove to delete all the credentials.

After that, restart your computer and check wheather error is solved or not.

4. Check for Office Updates

If your office app is outdated then it may cause of various issues including error code CAA50021. So make sure yiiu are using the latest version of Microsoft Office 365.

Final Words

In this post we have discussed how to fix Office 365 error code CAA50021. Here, we have explained some possible ways to fix this error. You can try them to resolve error code CAA50021 in Office 365. If these methods are not able to fix this error then contact the Microsoft support team for further assistance.