logo
search
Outlook Login Problems

How to Fix Outlook Sign-In Error AADSTS20012 After Password Change

Muhammad TalhaMuhammad Talha Oct 9, 2026 868 views

Question details

The user needs to resolve an Outlook authentication error that occurs after updating the password for a GoDaddy-hosted email account.

How to Fix Outlook Sign-In Error AADSTS20012 After Password Change
Product
Microsoft Outlook
Device & OS
not provided
Scenario
Attempting to sign in to Outlook after updating the email account password.
Observed behavior
Outlook displays error AADSTS20012, indicating an invalid or malformed WS-Federation message due to outdated sign-in information stored in the account profile.
Before you start

Ensure you have the exact new password for your email account and that your computer is connected to a stable internet connection before modifying your Outlook profile.

Solution 1Recommended

Reconfigure Your Outlook Account via Control Panel

The most reliable way to fix this error is to bypass the outdated cached credentials by adding your account fresh through the Windows Control Panel.

This method forces Outlook to establish a new authentication token with the server without requiring you to delete your existing email data files.

1
Restart Your Computer

Restart your computer to clear any temporary active sessions that might interfere with the new login attempt.

2
Open the Mail Applet

Open the Windows Start menu, search for 'Control Panel', and launch it. Change the View by setting to 'Large icons' or 'Small icons', then click on the 'Mail' or 'Mail (Microsoft Outlook)' applet.

3
Add the Account Again

Click on 'Email Accounts...' to view your current profiles. Under the Email tab, click 'New...' and enter your email address along with the newly updated password to add the account.

4
Remove the Outdated Account

Once the new account is successfully authenticated and added, select the old, outdated account entry from the list and click 'Remove'. Set the newly added account as the default if prompted.

Preserving Data Files: Do not alter or delete the Data Files (.pst or .ost) settings during this process, as they contain your locally saved emails and folders.
Free Microsoft Office alternative

Switch to WPS Office for a Streamlined Document Experience

If you frequently encounter complex sign-in errors and profile corruption in Microsoft Office, consider switching to WPS Office. It provides a lightweight, highly compatible, and user-friendly alternative for your productivity needs.

  1. 1. Download the Installer: Visit the official WPS Office website and click 'Download WPS Office Free'.
  2. 2. Install WPS Office: Run the downloaded installer file and follow the quick setup instructions to complete the lightweight installation.
  3. 3. Open Your Files: Launch WPS Office and seamlessly open your existing Microsoft Word, Excel, and PowerPoint documents without worrying about format changes.
Provides a lightweight and fast alternative to Microsoft Office, avoiding complex profile caching errors.Highly compatible with Microsoft Office formats including .docx, .xlsx, and .pptx.Features a familiar, easy-to-navigate user interface that makes transitioning effortless.Offers a comprehensive suite of Word, Spreadsheet, Presentation, and PDF tools for free.
microsoft office alternative - wps office

Frequently Asked Questions

What does error AADSTS20012 mean in Outlook?

Error AADSTS20012 indicates that a WS-Federation message is invalid or malformed. It typically occurs when your email client tries to authenticate using an outdated or corrupted password token after a recent password change.

Will removing my Outlook account in the Control Panel delete my emails?

No, removing the email account from the Mail applet removes the connection profile, but as long as you do not delete the underlying Outlook Data Files (.ost or .pst), your emails, contacts, and calendar events remain safe on your computer.

Why did this error happen after changing my GoDaddy email password?

GoDaddy uses Microsoft 365 for its email hosting. When you change your password on GoDaddy's end, Outlook's locally cached federation token for Microsoft 365 becomes invalid, triggering the AADSTS20012 error until the Windows profile is refreshed.

Do I need to reinstall Outlook to fix this sign-in error?

No, reinstalling Outlook is usually unnecessary. Re-adding your email account via the Control Panel Mail applet or clearing cached credentials is typically enough to resolve the token mismatch issue.