Fix Exchange Hybrid Autodiscover SRV Lookup After an Office 365 Migration
Question details
A user needs to diagnose an Autodiscover SRV lookup failure and HTTP 401 response after a mailbox moves to Office 365.

- Product
- Microsoft Exchange hybrid and Office 365
- Device & OS
- not provided
- Scenario
- A mailbox has been migrated from on-premises Exchange to Office 365 in a hybrid deployment.
- Observed behavior
- Autodiscover testing reports a failed SRV lookup and an HTTP 401 response; on-premises Outlook Web App cannot find the migrated mailbox.
Identify the migrated user's email domain and gather the Autodiscover test results, including the URLs tested and any HTTP responses. Have access to the Exchange administration tools and the DNS records for that domain.
Verify the Migrated Account and Compare Another Mailbox
Use these checks to distinguish an account or authentication issue from an environment-wide problem.
Open https://outlook.office.com/ and sign in with the migrated user's Office 365 credentials. Complete any multifactor authentication prompts and confirm that the mailbox opens.
Review the Autodiscover test results for the URL that returned HTTP 401. Verify the credentials and authentication method used for that endpoint; an initial 401 can be a normal authentication challenge, so check whether authentication ultimately succeeds.
Run the same Autodiscover and Outlook on the web checks with another migrated test account. If the problem affects only one account, focus on its sign-in and mailbox configuration; if both fail, investigate the hybrid configuration and DNS.

Check Autodiscover DNS and Hybrid Exchange Endpoints
Use these checks when multiple migrated accounts fail or the lookup and endpoint results point to a configuration issue.
Document Exchange Troubleshooting with WPS Office
WPS Office is a free, lightweight, easy-to-use Microsoft Office alternative with a familiar interface and compatible file formats for a seamless move between office suites. It can help document your Exchange investigation, but it does not fix Exchange Autodiscover or DNS.

Frequently Asked Questions
Does an HTTP 401 always mean the password is wrong?
No. An initial HTTP 401 can be part of an authentication challenge. Review the full Autodiscover test sequence to see whether authentication eventually succeeds, and verify the credentials and authentication method for the endpoint.
Could multifactor authentication cause the Autodiscover test to fail?
It can affect sign-in testing if the test or client cannot complete the required authentication flow. Sign in at https://outlook.office.com/ and complete the prompts, then check the Autodiscover test results and client authentication support.
Why can't on-premises Outlook Web App find the migrated mailbox?
The mailbox has moved to Office 365, so the on-premises Outlook Web App message alone does not prove that migration failed. Try opening the mailbox at https://outlook.office.com/.
Does a failed SRV lookup mean I must add an SRV record?
Not necessarily. Review the complete Autodiscover lookup sequence and the DNS design for the domain. If an SRV record is part of the deployment, check _autodiscover._tcp and confirm that its target resolves.




