Skip to content

Est. 2011ยทMicrosoft Partner 7033487ยทDelivery under 3 minยทSupport 7 days a week

Your vault is empty.

Free Fix 0x80072EE7

Autodiscover 0x80072EE7 and 0x80072EFD: Outlook Cannot Reach the Discovery Endpoint

10 min read Updated October 4, 2026 Outlook & Office Applications

Fix it now

0x80072EE7 is WinINet 12007, the server name could not be resolved. 0x80072EFD is 12029, the attempt to connect to the server failed. One is DNS, the other is the path; nothing has reached a server that could answer, so your mailbox and credentials are not in question yet.

Run these on the failing machine, substituting your own mail domain

nslookup autodiscover.contoso.com
Test-NetConnection autodiscover.outlook.com -Port 443
netsh winhttp show proxy
ipconfig /flushdns
  1. Read the nslookup answer. For a Microsoft 365 mailbox the published record is a CNAME with the alias Autodiscover pointing at autodiscover.outlook.com.
  2. If the name resolves but the port test fails, the fault is a firewall, proxy or filtering appliance rather than DNS.
  3. If a proxy is configured, confirm it is not intercepting or authenticating the Microsoft 365 endpoints.
  4. Where an internal DNS zone exists for the same domain name, check the record is present there too. Split DNS is why a visibly correct public record still fails inside the office.
  5. Retry, and for address book problems specifically use Send/Receive Groups and download the address book.

0x8004010F is the odd one in this family. Microsoft’s own article for it names a corrupted Outlook profile as the cause, not a network fault, and rebuilding the profile as the fix.

If a new profile now configures itself from an email address alone, you are done. The next section covers the lookup order and which step yours is failing at.

Why it happens

Autodiscover is a search order rather than a single lookup. A domain-joined client looks in Active Directory for a service connection point first. It then tries HTTPS at the root of the mail domain, then at the autodiscover host in that domain, then follows a redirect if one is offered, then looks for a DNS service record, and for Microsoft 365 there is a direct endpoint step as well. The client stops at the first answer it can use.

Because the order is fixed, a fault at any step shows up as a delay and then a failure at the end, which is why these codes appear during profile creation far more often than during normal use. 0x80072EE7 means a name in that sequence would not resolve at all. 0x80072EFD means the name resolved but the connection was refused or timed out, which points at a firewall, a proxy that will not forward, or a host that is not listening. 0x80072EE5 is WinINet 12005: the URL is invalid, which in practice means a bad override or a mistyped server entry.

0x8004010F does not belong to the network stack at all. Microsoft publishes it as NotFound – the requested object could not be found at the server – and its dedicated troubleshooting article gives the symptom as an Outlook data file that cannot be accessed, or an operation that failed because an object could not be found, with a corrupted Outlook profile as the cause. The documented fix is to read the default data file’s location from the broken profile, build a new profile, and point it at that file. That is a very different job from fixing DNS, and mixing the two up is how people spend a day on the wrong problem.

The public Autodiscover record is missing or wrong

You have this one if nslookup returns nothing for the autodiscover host in your mail domain, or returns a host that is not yours.

  1. For a Microsoft 365 mailbox, publish a CNAME with the alias Autodiscover pointing at autodiscover.outlook.com.
  2. For an on-premises mailbox, publish a record for the autodiscover host pointing at your published Exchange name.
  3. Allow for propagation, then clear the client resolver with ipconfig /flushdns.
  4. Confirm resolution from a client, not from the DNS server.

Where an internal zone exists for the same domain name, the record has to exist in that zone too. Split DNS is the single most common reason a correct public record still fails on the office network.

A proxy or filtering appliance is refusing the connection

You have this one if The name resolves, the port test fails, and the same machine works on a phone hotspot.

  1. Check what Windows itself will use with netsh winhttp show proxy, and check the browser or PAC configuration separately; they are not the same setting.
  2. Read the PAC logic for the Microsoft 365 host names and confirm it does what you intended.
  3. Have the network team permit the Microsoft 365 endpoints and, better, bypass them from decryption and proxy authentication entirely.
  4. Retest the port from the client once the rule is in place.

The profile is corrupted rather than the network broken

You have this one if 0x8004010F in the send and receive log while name resolution and the port test both succeed.

  1. Open Control Panel, Mail, Show Profiles, select the profile, choose Properties, then Data Files, and note the default file’s name and location.
  2. Create a new profile from the General tab and let it configure the account from the email address.
  3. Attach the existing data file you noted, rather than starting an empty one, where local content matters.
  4. Set the new profile to always be used and start Outlook.

The client is reaching a redirect it should not

You have this one if The lookup succeeds but lands on an unexpected host, often a former hosting provider or a decommissioned on-premises server.

  1. Check the public DNS records for stale autodiscover entries left behind by a previous provider.
  2. In a hybrid or recently migrated environment, check for a service connection point still advertising a retired server.
  3. Remove what is stale, allow propagation and retest with a new profile rather than an existing one.

Full reference

Reading the evidence

What you see Where the fault is
nslookup fails for the autodiscover host The DNS record is missing or wrong
The name resolves but the port 443 test fails A firewall, proxy or filtering appliance in the path
The lookup lands on an unexpected host A stale service connection point or a leftover record
Only the address book fails A different problem: check the profile before the network
Works on a hotspot, fails in the office Proxy, PAC file or an inspection appliance on that network

What each code is reporting

Code WinINet value Published text
0x80072EE7 12007 The server name could not be resolved
0x80072EFD 12029 The attempt to connect to the server failed
0x80072EE5 12005 The URL is invalid
0x8004010F – The requested object could not be found at the server

The record Microsoft publishes

For a Microsoft 365 mailbox the required record is a CNAME: alias Autodiscover, target autodiscover.outlook.com. Microsoft’s description of what it does is worth quoting to whoever owns your DNS, because it explains why the record cannot simply be dropped: it helps Outlook clients connect to Exchange Online by using the Autodiscover service, which finds the correct host and configures Outlook for users.

Two neighbouring records get confused with it and neither one substitutes. The MX record sends inbound mail to Exchange Online and takes the form of a mail protection host name at a priority lower than any other MX record. The SIP federation service record belongs to Teams. Neither has any part in profile setup.

When DNS and the firewall both check out

  • Test from a machine that has never had a profile on it. A machine with a working profile caches enough to hide a broken lookup.
  • Check whether the failure is only on first configuration. Autodiscover runs at profile creation and periodically afterwards, so an existing profile can keep working for a long time after the record breaks.
  • Check the account itself in a browser. A mailbox that will not open in Outlook on the web is not an Autodiscover problem.
  • For an on-premises or hybrid deployment, confirm the published external URLs match the names on the certificate; a name the client cannot validate fails here as well.
  • Check whether a security product is intercepting HTTPS on this machine. Interception produces its own family of codes but can present first as a connection that will not complete.

Address book downloads specifically

If mail flows and only the address book fails, work the profile rather than the network. Close Outlook and remove the cached offline address book folder under the user’s local application data, then start Outlook and force a download from the Send/Receive groups. For an on-premises deployment, have the administrator regenerate the offline address book and confirm the distribution point is reachable over HTTPS. Where the same error follows the account to a new profile on a different machine, the fault is on the server side and not on the client.

Every code this article covers

Code What it points at Source
0x80072EE7 WinINet 12007 ERROR_INTERNET_NAME_NOT_RESOLVED: the server name could not be resolved Microsoft Learn
0x80072EFD WinINet 12029 ERROR_INTERNET_CANNOT_CONNECT: the attempt to connect to the server failed Microsoft Learn
0x8004010F NotFound: the requested object could not be found at the server. Microsoft’s article for the send and receive form of this error names a corrupted Outlook profile as the cause Microsoft Learn
0x80072EE5 WinINet 12005 ERROR_INTERNET_INVALID_URL: the URL is invalid Microsoft Learn

Confirm the fix worked

  1. nslookup returns the expected Autodiscover target from the client.
  2. The port 443 test to that target succeeds from the same machine.
  3. A new Outlook profile configures itself from the email address alone, with no server details typed in.
  4. The address book downloads with no error in the send and receive log.
  5. The same test works from a second machine on the same network.

Questions people ask about this

Does this cost anything to fix?

No. This is DNS and network configuration from start to finish. There is no licence, add-on or subscription that resolves a name for you.

Do I still need an Autodiscover record with Microsoft 365?

For Outlook on the desktop, yes. Microsoft publishes a CNAME with the alias Autodiscover pointing at autodiscover.outlook.com, and it is what lets a new profile configure itself from an email address alone.

Why does mail work on my phone but not in Outlook?

Mobile mail apps use different discovery mechanisms and often a different network path. A working phone tells you the mailbox and account are healthy, which is useful, but it does not test the lookup Outlook is failing.

Is 0x8004010F an address book problem?

Not according to Microsoft. Its dedicated article for this code names a corrupted Outlook profile as the cause and rebuilding the profile against the existing default data file as the fix. Check the profile before you go near the address book.

Can I skip Autodiscover and type the server in manually?

Not for a Microsoft 365 mailbox, where Autodiscover is how the client learns which endpoint serves it. For on-premises Exchange a manual entry is possible but leaves you maintaining settings by hand on every machine.

Related error codes

Was this article helpful?

Your feedback helps us improve our documentation.

Related articles

Free Fix Outlook 0x800CCC80 and 0x800CCC1A: SSL and Authentication Method Mismatch on Send License Error Excel 0x8007000E Out of Memory: Workbook Hangs or Stops Responding on Large Files Free Fix Excel found unreadable content: Repair a Corrupt Workbook and Recover Data Free Fix Outlook 0x80040119 and 0x80040600: Damaged PST or OST Data File Needs Repair
โ† Back to Knowledge Base