How to Fix Microsoft 365 Sign-In Error AADSTS9002313
Question details
The user cannot sign into Microsoft 365 due to an invalid request error, which blocks access to apps and cloud features.

- 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.
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.
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.
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.
Click the Windows Start button, type 'Credential Manager' in the search bar, and hit Enter to open the control panel applet.
Click on 'Windows Credentials' and scroll down to the 'Generic Credentials' section. Look for any entries starting with 'MicrosoftOffice16' or 'msteams'.
Click the drop-down arrow next to each Microsoft Office-related credential and click 'Remove'. Confirm the deletion when prompted.
Restart your computer, open a Microsoft Office application, and sign in again with your Microsoft 365 account email and password.

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. Download WPS Office: Visit the official WPS website and click the free download button for your operating system.
- 2. Install the Software: Run the downloaded installer file and follow the quick, straightforward on-screen instructions.
- 3. Open Your Files Instantly: Launch WPS Office and seamlessly open your existing Microsoft Office documents without worrying about complicated login errors.

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.




