Troubleshoot an Office 365 Autodiscover 401 Unauthorized Error
Question details
Identify why Office 365 Autodiscover returns a 401 Unauthorized error for an affected account.

- Product
- Office 365 Autodiscover
- Device & OS
- not provided
- Scenario
- Autodiscover testing affects Outlook and Skype for Business connections, although directory synchronization and web sign-in work.
- Observed behavior
- The Autodiscover test returns a 401 Unauthorized response even though the user can sign in on the web.
Identify the affected account and confirm that you have permission to test it and review its Microsoft 365 licenses. Use an administrator account if you need to check licensing in the Microsoft 365 admin center.
Run an Exchange ActiveSync Autodiscover test
Use Microsoft's connectivity test to collect details about the affected account's Autodiscover response.
Go to the Microsoft Remote Connectivity Analyzer at https://testconnectivity.microsoft.com/ and select the Microsoft 365 tab.
Choose Exchange ActiveSync Autodiscover from the available tests, then select Next.
Enter the affected account's requested information, complete the verification prompts, and select Perform Test.
Expand the test results to find the failing step and its error details. If you need help interpreting the report, share it with Microsoft support through a private support channel.

Check the affected user's Microsoft 365 license
Confirm that the user has the appropriate license and service enabled for Exchange Online.
Work with Office documents while troubleshooting Autodiscover
WPS Office is a free, lightweight alternative with a familiar interface for working with Office files. Its format compatibility makes it easy to move existing documents into WPS. It does not fix Microsoft 365 Autodiscover or Exchange authentication errors.

Frequently Asked Questions
Does successful web sign-in rule out an Autodiscover problem?
No. Web sign-in can work even when an Autodiscover test returns a 401 response. Run the Exchange ActiveSync Autodiscover test in Microsoft Remote Connectivity Analyzer to identify the failing step.
Where can I check the affected user's Exchange license?
In the Microsoft 365 admin center, go to Users > Active users, select the user, and open Licenses and apps. Check the assigned license and whether Exchange Online is enabled.
What should I share with Microsoft support?
Share the connectivity test results and any requested tenant details through a private support channel. Do not post passwords or tenant information publicly.
Can WPS Office resolve an Office 365 Autodiscover 401 error?
No. The error concerns Microsoft 365 authentication or connectivity and should be investigated with Microsoft's tools and support. WPS Office is an alternative for working with Office documents.




