logo
search
Exchange Connection Problems

How to Fix AADSTS20012 Exchange Account Setup Error on Apple Mail

Algirdas JasaitisAlgirdas Jasaitis Oct 10, 2026 869 views

Question details

The user needs to resolve an authentication error preventing the setup of an Exchange email account on Apple Mail.

How to Fix the AADSTS20012 Exchange Error on Apple Mail
Product
Apple Mail (GoDaddy Hosted Exchange)
Device & OS
not provided
Scenario
Setting up or logging into an Exchange account on Apple Mail.
Observed behavior
The authentication process fails and displays an AADSTS20012 error, indicating an invalid or malformed WS-Federation message.
Before you start

Before attempting to re-add your account, keep the error prompt open or take a screenshot so you can copy the specific request ID and correlation ID.

Solution 1Recommended

Check GoDaddy Service Status and Contact Support

Since this error is usually caused by a provider-side WS-Federation outage, verify the service status and report the specific error IDs to support.

The AADSTS20012 error means the server returned an invalid federation message during the login attempt. This is almost always an issue on the email provider's side (such as GoDaddy) rather than a misconfiguration on your device.

1
Check the Status Page

Visit the official GoDaddy service status page in your web browser to check for any active incidents regarding Office 365, Exchange, or email authentication.

2
Collect Error Information

From the error prompt in Apple Mail, note down the request ID, correlation ID, timestamp, and your exact account domain.

3
Contact Provider Support

Reach out to GoDaddy Support and provide the collected IDs and timestamp. This allows their technical team to trace the failed authentication request on their backend servers.

Check GoDaddy Service Status and Contact Support
Do not delete your account yet: Wait until GoDaddy confirms the authentication issue is fully resolved before attempting to remove and recreate your Exchange account in Apple Mail.
Free Microsoft Office alternative

Enhance Your Productivity with WPS Office

While waiting for your Exchange email provider to resolve server outages, ensure your offline work remains uninterrupted. WPS Office is a powerful, lightweight, and free office suite that offers a familiar interface and seamless compatibility with Microsoft Office files.

  1. 1. Download the Installer: Visit the official WPS website and click the free download button for your operating system.
  2. 2. Install the Software: Open the downloaded installation file and follow the quick on-screen instructions to set up the suite.
  3. 3. Start Creating: Launch WPS Office to instantly open, edit, or create documents, spreadsheets, and presentations.
High compatibility with Microsoft Word, Excel, and PowerPoint formatsLightweight installation that runs smoothly without draining system resourcesAll-in-one suite with a built-in PDF reader and advanced editing toolsCompletely free core features, making it a perfect cost-effective alternative
microsoft office alternative - wps office

Frequently Asked Questions

What does the AADSTS20012 error mean?

The AADSTS20012 error indicates that an invalid or malformed WS-Federation message was encountered during Exchange account authentication. This typically means the authentication servers hosted by the email provider (like GoDaddy) are experiencing a temporary outage or configuration failure.

Can I fix the AADSTS20012 error by changing my Apple Mail settings?

Generally, no. Because the error stems from a provider-side server issue returning bad authentication tokens, changing local settings on your device will not fix it. You must wait for the provider to resolve the incident.

Why does GoDaddy Support need my correlation ID?

The correlation ID and request ID are unique identifiers generated during your specific login attempt. Support teams use these IDs to search their server logs, allowing them to pinpoint exactly where and why the authentication request failed.