Exchange Connection Problems

Troubleshoot an Office 365 Autodiscover 401 Unauthorized Error

Bushra ParveenBushra Parveen Nov 22, 2026 868 views

Question details

Identify why Office 365 Autodiscover returns a 401 Unauthorized error for an affected account.

Troubleshoot an Office 365 Autodiscover 401 Unauthorized Error
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.
Before you start

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.

Solution 1Recommended

Run an Exchange ActiveSync Autodiscover test

Use Microsoft's connectivity test to collect details about the affected account's Autodiscover response.

1
Open the analyzer

Go to the Microsoft Remote Connectivity Analyzer at https://testconnectivity.microsoft.com/ and select the Microsoft 365 tab.

2
Select the test

Choose Exchange ActiveSync Autodiscover from the available tests, then select Next.

3
Run the test

Enter the affected account's requested information, complete the verification prompts, and select Perform Test.

4
Review and share the results

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.

Run an Exchange ActiveSync Autodiscover test
Protect account information: Do not post passwords or tenant details publicly. Review the report for sensitive information before sharing it through an authorized private channel.
Free Microsoft Office alternative

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.

Keep working on documents while your Exchange connection is investigatedOpen and edit common Microsoft Office formats, including DOCX, XLSX, and PPTXUse a familiar interface for documents, spreadsheets, and presentationsGet a free, lightweight office suite
microsoft office alternative - wps office

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.