How to Fix Microsoft 365 Error Code 29 and Sign-In Loops
Question details
The user needs to resolve continuous sign-in prompts and an Account Error notification in Microsoft 365 following a subscription renewal.

- Product
- Microsoft 365
- Device & OS
- Windows
- Scenario
- Accessing Microsoft 365 applications like Outlook after successfully renewing the software subscription.
- Observed behavior
- Applications repeatedly prompt for sign-in, display Error Code 29, and cause an Outlook sign-in loop. The built-in "Fix" option fails to resolve the issue despite the account being active.
Ensure all Microsoft 365 applications, including background processes for Outlook, are completely closed before deleting cache folders or running the repair tool.
Clear Microsoft 365 Identity and Authentication Cache
Removing corrupted identity cache folders is the most effective way to resolve persistent sign-in loops and Error Code 29.
When a subscription is renewed, the local authentication tokens cached on your computer can become out of sync with Microsoft's servers. Deleting these cache folders forces Microsoft 365 to generate fresh authentication data without deleting your personal files or emails.
Fully exit out of all Microsoft 365 applications, including Word, Excel, and Outlook.
Press the Windows Key + R to open the Run dialog. Type %localappdata%\Microsoft and press Enter.
Locate the folders named "IdentityCache" and "OneAuth". Right-click each folder and select Delete.
Restart your computer, open any Microsoft 365 application, and sign in with your account credentials when prompted.

Perform a Quick Repair of Microsoft 365
Use the Windows built-in repair utility to fix underlying application issues if clearing the cache does not work.
Try WPS Office: A Seamless, Free Alternative
Tired of frustrating subscription errors and persistent sign-in loops? WPS Office is a lightweight, free alternative that offers a familiar interface and excellent compatibility with all your documents, spreadsheets, and presentations—without the complicated account syncing issues.

Frequently Asked Questions
Why does Microsoft 365 show Error Code 29 after a renewal?
Error Code 29 usually occurs when the local authentication cache on your device becomes corrupted or fails to sync properly with Microsoft's servers following a change in your subscription status.
Will deleting the OneAuth and IdentityCache folders delete my personal files?
No. Deleting these specific folders only resets the sign-in and authentication data. Your personal documents, spreadsheets, emails, and application settings remain completely safe and untouched.
What should I do if Quick Repair doesn't fix the sign-in loop?
If Quick Repair fails, you can return to the Apps & Features menu, select Modify, and choose "Online Repair". This performs a more comprehensive fix by redownloading and reinstalling corrupted application files from Microsoft's servers.
How do I completely stop Outlook from repeatedly asking for a password?
Clearing the IdentityCache and OneAuth folders in your Local AppData directory is the most effective way to resolve persistent Outlook password prompts and sign-in loops associated with Error Code 29.




