logo
search
OneDrive Error Codes

Fix OneDrive for Business Sign-In Error 0xCAA50021 After Password Change

Steve KSteve K Oct 10, 2026 869 views

Question details

Users are unable to sign in to OneDrive, Excel, or PowerPoint due to error 0xCAA50021 after updating their organizational account password.

How to Fix OneDrive Sign-In Error 0xCAA50021 After a Password Change
Product
OneDrive for Business
Device & OS
Windows
Scenario
Attempting to access Microsoft 365 desktop applications and cloud storage after a work or school password change.
Observed behavior
Email and Microsoft Teams remain accessible, but OneDrive, Excel, and PowerPoint fail to authenticate and display activation error code CAA50021.
Before you start

Ensure you have your new work or school account credentials available, and verify that your Windows account has the necessary permissions to modify device settings.

Solution 1Recommended

Disconnect and Reconnect Your Work or School Account

Refreshing your device's connection to the organization's Azure Active Directory clears stale authentication tokens causing the sign-in error.

When a password changes, Windows sometimes fails to automatically update the Primary Refresh Token for Office desktop applications. Manually re-adding the account forces a new, authorized connection.

1
Open Windows Settings

Click the Start menu and select the gear icon, or press the Windows key + I on your keyboard to open Settings.

2
Navigate to Work or School settings

Go to 'Accounts' from the left-hand menu, then scroll down and click on 'Access work or school'.

3
Disconnect the problematic account

Locate the organizational account that is experiencing the error. Click on it, select 'Disconnect', and confirm the prompt to remove the account from your device.

4
Reconnect with new credentials

Click the 'Connect' button at the top of the 'Access work or school' page. Enter your work or school email address and sign in using your newly updated password.

Disconnect and Reconnect Your Work or School Account
Administrator Action May Be Required: If the error persists after reconnecting, contact your IT administrator. They may need to verify that 'Users may join devices to Azure AD' is enabled in your organization's Microsoft Endpoint settings.
Free Microsoft Office alternative

Avoid Microsoft 365 Sign-In Interruptions with WPS Office

If persistent authentication errors like 0xCAA50021 are keeping you from your documents, consider using WPS Office. It provides a robust, lightweight, and offline-capable alternative that lets you work without being locked out by mandatory cloud syncing issues.

  1. 1. Download and Install: Get the free WPS Office installer from the official website and complete the quick installation process.
  2. 2. Open Your Documents: Double-click any existing Word, Excel, or PowerPoint file on your computer to open it instantly in WPS Office.
  3. 3. Work Offline or Choose Your Cloud: Edit and save your files directly to your local hard drive, or connect a personal cloud drive of your choice without organizational restrictions.
Edit files locally without mandatory cloud sign-ins or Azure AD sync errors.Fully compatible with Microsoft Office formats, including .docx, .xlsx, and .pptx.Lightweight installation with a familiar, easy-to-use interface.Built-in PDF editing, merging, and conversion tools.
microsoft office alternative - wps office

Frequently Asked Questions

Why am I getting error 0xCAA50021 in OneDrive but Teams still works?

Microsoft Teams and Outlook often use different token caching mechanisms compared to desktop Office apps. When your password changes, the desktop apps (like Excel and OneDrive) may fail to refresh their Azure AD tokens, resulting in this specific activation error while Teams remains unaffected.

Will disconnecting my work account delete my local files?

No. Disconnecting your work or school account in Windows Settings only removes the authentication link and single sign-on profile from the device. Your locally saved documents and files will remain untouched on your hard drive.

Do I need IT administrator privileges to fix this error?

You can perform the basic troubleshooting step of disconnecting and reconnecting your account on your own. However, if your organization has disabled device registration in Azure AD, you will need your IT administrator to adjust the tenant settings before you can successfully sign back in.