Microsoft 365 Error Codes

How to Fix Microsoft 365 Sign-In Error AADSTS9002313

Huda QurayshiHuda Qurayshi Nov 2, 2026 870 views

Question details

The user cannot sign into Microsoft 365 due to an invalid request error, which blocks access to apps and cloud features.

How to Fix Microsoft 365 Sign-In Error AADSTS9002313
Product
Microsoft 365
Device & OS
Windows
Scenario
Attempting to sign in to Microsoft 365 desktop applications to authenticate the license and use features like AutoSave.
Observed behavior
The system throws error code AADSTS9002313, indicating a malformed sign-in request, preventing the user from successfully logging in.
Before you start

Ensure you have your current Microsoft 365 email address and password readily available, as you will need to re-authenticate your account after clearing cached login data.

Solution 1Recommended

Clear Microsoft Office Credentials from Windows

Removing outdated or corrupted login tokens from the Windows Credential Manager forces Office to generate a fresh, valid sign-in request.

Authentication errors like AADSTS9002313 usually happen when the cached login token saved on your computer becomes corrupted or out of sync with Microsoft's servers.

1
Sign out of Office applications

Open any Microsoft Office app like Word or Excel, click on your profile picture or name in the top right corner, and select 'Sign Out'. Close all Office applications.

2
Open Windows Credential Manager

Click the Windows Start button, type 'Credential Manager' in the search bar, and hit Enter to open the control panel applet.

3
Locate Microsoft credentials

Click on 'Windows Credentials' and scroll down to the 'Generic Credentials' section. Look for any entries starting with 'MicrosoftOffice16' or 'msteams'.

4
Remove the credentials

Click the drop-down arrow next to each Microsoft Office-related credential and click 'Remove'. Confirm the deletion when prompted.

5
Restart and sign in

Restart your computer, open a Microsoft Office application, and sign in again with your Microsoft 365 account email and password.

Clear Microsoft Office Credentials from Windows
No Data Loss: Removing credentials only deletes your saved login state. Your personal files, documents, and settings will not be affected.
Free Microsoft Office alternative

Avoid Sign-In Hassles with WPS Office

Tired of troubleshooting complex Microsoft 365 login errors and subscription sync issues? Switch to WPS Office. It provides a lightweight, hassle-free experience that lets you work offline without constant cloud authentication checks.

  1. 1. Download WPS Office: Visit the official WPS website and click the free download button for your operating system.
  2. 2. Install the Software: Run the downloaded installer file and follow the quick, straightforward on-screen instructions.
  3. 3. Open Your Files Instantly: Launch WPS Office and seamlessly open your existing Microsoft Office documents without worrying about complicated login errors.
Fully compatible with Microsoft Office formats like .docx, .xlsx, and .pptx.Free to use with a familiar, easy-to-navigate tabbed interface.No mandatory cloud sign-ins required for basic offline editing.Lightweight installation that runs smoothly on older and newer devices alike.
microsoft office alternative - wps office

Frequently Asked Questions

What exactly does the AADSTS9002313 error code mean?

This specific alphanumeric code is generated by Azure Active Directory (AAD). It means the authentication request sent from your Office app to Microsoft's servers is invalid or malformed, typically due to conflicting or corrupted saved login data on your device.

Why is AutoSave disabled when I get this error?

AutoSave requires a constant, authenticated connection to OneDrive or SharePoint to sync changes in real time. Because the AADSTS9002313 error prevents successful authentication, Office cannot verify your cloud storage, temporarily disabling the AutoSave feature.

What should I do if clearing the Credential Manager doesn't work?

If the issue persists, you may need to disconnect your work or school account via Windows Settings > Accounts > Access work or school, remove the account, and then reconnect it. Alternatively, running the Microsoft Support and Recovery Assistant (SaRA) tool can help diagnose deeper authentication issues.