Exchange Connection Problems

Fix Exchange Hybrid Autodiscover SRV Lookup After an Office 365 Migration

Tauseeq MagsiTauseeq Magsi Nov 27, 2026 868 views

Question details

A user needs to diagnose an Autodiscover SRV lookup failure and HTTP 401 response after a mailbox moves to Office 365.

Fix Exchange Hybrid Autodiscover SRV Lookup After an Office 365 Migration
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.
Before you start

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.

Solution 1Recommended

Verify the Migrated Account and Compare Another Mailbox

Use these checks to distinguish an account or authentication issue from an environment-wide problem.

1
Test cloud sign-in

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.

2
Check the 401 response

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.

3
Compare a test account

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.

Verify the Migrated Account and Compare Another Mailbox
On-premises mailbox message: On-premises Outlook Web App may report that it cannot find a mailbox that has been moved to Office 365. Confirm access through Outlook on the web in Office 365 rather than treating that message alone as proof of a failed migration.
Free Microsoft Office alternative

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.

Record Autodiscover test results and DNS checks in a spreadsheet.Open and edit Microsoft Word DOCX and Excel XLSX files.Use a familiar interface for documents and spreadsheets.Work with a free, lightweight office suite.
microsoft office alternative - wps office

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.