logo
search
Microsoft 365 Error Codes

How to Fix Microsoft 365 Error Code 29 and Sign-In Loops

Partner EditorPartner Editor Oct 1, 2026 869 views

Question details

The user needs to resolve continuous sign-in prompts and an Account Error notification in Microsoft 365 following a subscription renewal.

How to Fix Microsoft 365 Error Code 29 and Sign-In Loops
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.
Before you start

Ensure all Microsoft 365 applications, including background processes for Outlook, are completely closed before deleting cache folders or running the repair tool.

Solution 1Recommended

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.

1
Close all applications

Fully exit out of all Microsoft 365 applications, including Word, Excel, and Outlook.

2
Open the Local AppData folder

Press the Windows Key + R to open the Run dialog. Type %localappdata%\Microsoft and press Enter.

3
Delete cache folders

Locate the folders named "IdentityCache" and "OneAuth". Right-click each folder and select Delete.

4
Restart and sign in

Restart your computer, open any Microsoft 365 application, and sign in with your account credentials when prompted.

Clear Microsoft 365 Identity and Authentication Cache
Verified Solution: Many users report that deleting the IdentityCache and OneAuth folders instantly resolves the Account Error message and stops the Outlook sign-in loop.
Free Microsoft Office alternative

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.

Fully compatible with Microsoft Office formats including .docx, .xlsx, and .pptx.No persistent sign-in loops, Error Code 29, or complex subscription authentication hurdles.Lightweight design that installs quickly and runs smoothly on older devices.Free to use with a familiar, easy-to-navigate user interface.
microsoft office alternative - wps office

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.