Exchange ServerDeep dive

Outlook, Autodiscover and OAB error codes with Exchange Server: a quick reference

Look up an Outlook, Autodiscover or OAB error against Exchange Server: what 0x8004010F, 0x80190194, GetLastError=12007 and 42 more codes mean, the usual cause and the first check.

Outlook rarely explains a connection problem in plain words: you get a hex code in a Send/Receive dialog, a GetLastError number in the Autodiscover log or a certificate warning. This quick reference lists the codes Exchange Server admins meet most with Outlook, Autodiscover and the offline address book (OAB): the meaning from Microsoft's documentation, the usual on-premises cause and the first thing to check, with links to the detailed guides.

Codes in this quick reference

  • 0x8004010F MAPI_E_NOT_FOUND: object not found (The operation failed. An object could not be found.)Outlook (Download Address Book)
  • 0x80190194 BG_E_HTTP_ERROR_404: the OAB download URL does not exist on the serverOutlook (Download Address Book)
  • 0x80190191 BG_E_HTTP_ERROR_401: the OAB download requires user authenticationOutlook (Download Address Book)
  • 0x80190197 BG_E_HTTP_ERROR_407: the proxy requires user authenticationOutlook (Download Address Book)
  • 0x801901F7 BG_E_HTTP_ERROR_503: the service is temporarily overloadedOutlook (Download Address Book)
  • 0x801901F8 BG_E_HTTP_ERROR_504: timed out waiting for a gatewayOutlook (Download Address Book)
  • 0x8004011D The server is not available. Contact your administrator if this condition persists.Outlook Send/Receive
  • 0x80040115 MAPI_E_NETWORK_ERROR: a problem with network operations or servicesOutlook Send/Receive

+ 37 more codes in the tables below.

How this guide is organised: How to read these codes → Offline address book download codes → Outlook Send/Receive and MAPI codes → Connection messages in Outlook → Autodiscover codes → Certificate warnings → POP3 and IMAP4 accounts → How to verify a fixFlow diagram of the article's sections in reading order: 1. How to read these codes. 2. Offline address book download codes. 3. Outlook Send/Receive and MAPI codes. 4. Connection messages in Outlook. 5. Autodiscover codes (3 parts: Outlook's Autodiscover log; Certificate and TLS errors in the log; HTTP responses and prompts). 6. Certificate warnings. 7. POP3 and IMAP4 accounts. 8. How to verify a fix. Toolbox: 0x8004010F, 0x80070005, 0x80190194, Get-ServerComponentState, Get-MailboxPermission.1How to read thesecodes2Offline address bookdownload codes3OutlookSend/Receive and…4Connectionmessages in Outlook5Autodiscover codes6Certificate warnings7POP3 and IMAP4accounts8How to verify a fixOutlook's AutodiscoverlogCertificate and TLSerrors in the logHTTP responses andpromptsTOOLBOX0x8004010F0x800700050x80190194Get-ServerComponentStateGet-MailboxPermissionHow this guide is organised: How to read these codes → Offline address book download codes → Outlook Send/Receive and MAPI codes → Connection messages in Outlook → Autodiscover codes → Certificate warnings → POP3 and IMAP4 accounts → How to verify a fixFlow diagram of the article's sections in reading order: 1. How to read these codes. 2. Offline address book download codes. 3. Outlook Send/Receive and MAPI codes. 4. Connection messages in Outlook. 5. Autodiscover codes (3 parts: Outlook's Autodiscover log; Certificate and TLS errors in the log; HTTP responses and prompts). 6. Certificate warnings. 7. POP3 and IMAP4 accounts. 8. How to verify a fix. Toolbox: 0x8004010F, 0x80070005, 0x80190194, Get-ServerComponentState, Get-MailboxPermission.1How to read these codes2Offline address book download codes3Outlook Send/Receive and MAPI codes4Connection messages in Outlook5Autodiscover codesOutlook's Autodiscover logCertificate and TLS errors in the logHTTP responses and prompts6Certificate warnings7POP3 and IMAP4 accounts8How to verify a fixTOOLBOX0x8004010F0x800700050x80190194Get-ServerComponentStateGet-MailboxPermission
At a glance: how this guide is organised · 3 steps · 5 key settings and tools

How to read these codes#

  • Send/Receive dialog: Task '<account>' reported error (0x8004010F) : '...'. The hex code is the part to look up.
  • Test E-mail AutoConfiguration: Ctrl + right-click the Outlook icon in the notification area. The Log tab lists each Autodiscover attempt with GetLastError= and httpStatus=; Connection Status on the same menu shows each connection's server and state.
  • Server side: the IIS logs (%SystemDrive%\inetpub\logs\LogFiles\W3SVC1 for the front end) and HttpProxy logs (%ExchangeInstallPath%Logging\HttpProxy\<protocol>) show the HTTP status each client received.
PrefixFamilyExample
0x8004xxxxMAPI error codes (Microsoft's [MS-OXCDATA] list)0x8004010F = MAPI_E_NOT_FOUND
0x8007xxxxA Windows error wrapped as an HRESULT: convert the last four hex digits to decimal0x80070005 = error 5 (access denied); 0x80072EE7 = 12007
0x8019xxxxBITS (used for OAB downloads) passing on an HTTP status: the last three hex digits in decimal0x80190194 = HTTP 404
0x800CCCxxInternet mail accounts (POP3, IMAP4, SMTP)0x800CCC0E
GetLastError=12xxxWindows internet (WinINet) errors in the Autodiscover log12007 = name not resolved

Offline address book download codes#

CodeMeaningUsual causeFirst check
0x8004010FMAPI_E_NOT_FOUND: the requested object could not be found at the server. Outlook shows The operation failed. An object could not be found.No default OAB, OAB not assigned to the database or mailbox, or not generated yetGet-MailboxDatabase | fl Name,OfflineAddressBook; OAB guide
0x80190194BG_E_HTTP_ERROR_404: the requested URL does not exist on the serverOAB virtual directory URL wrong or missing, or OAB files not on the server yetGet-OabVirtualDirectory | fl Server,InternalUrl,ExternalUrl
0x80190191BG_E_HTTP_ERROR_401: the resource requires user authenticationAuthentication changed on the OAB virtual directory, or a device in the path breaks Windows authentication401s for /OAB in the IIS log; Get-OabVirtualDirectory | fl *Authentication*
0x80190197BG_E_HTTP_ERROR_407: the proxy requires user authenticationThe client's web proxy handles the Exchange namespaceProxy bypass list or PAC file
0x801901F7BG_E_HTTP_ERROR_503: the service is temporarily overloadedOAB application pool stopped, OabProxy component Inactive, server drainedGet-ServerComponentState; /oab/healthcheck.htm (load balancer guide)
0x801901F8BG_E_HTTP_ERROR_504: timed out waiting for a gatewayReverse proxy or load balancer timing out towards ExchangeDevice timeouts and pool member status

Outlook Send/Receive and MAPI codes#

CodeMeaningUsual causeFirst check
0x8004011DThe server is not available. Contact your administrator if this condition persists.Outlook can't reach the mailbox during Send/Receive. One user: profile or OST; many users: server or networkConnection Status; compare users (MAPI/HTTP guide)
0x80040115MAPI_E_NETWORK_ERROR: a problem with network operations or servicesDNS, firewall, proxy, load balancer or TLS between Outlook and the MAPI/HTTP endpoint/mapi/healthcheck.htm on each server; Connection Status
0x80040111MAPI_E_LOGON_FAILED: a client was unable to log on to the serverWrong or expired credentials, disabled account, Kerberos or NTLM failure401s in IIS and HttpProxy logs (password prompt guide)
0x80070005E_ACCESSDENIED / MAPI_E_NO_ACCESS: insufficient access rightsMissing Full Access or folder permission on a shared or delegated mailboxGet-MailboxPermission; Get-MailboxFolderPermission
0x80004005E_FAIL / MAPI_E_CALL_FAILED: failed for an unspecified reasonGeneric; the real cause is usually reported alongsideA second code in the same task; Test E-mail AutoConfiguration
0x8004010DMAPI_E_NOT_ENOUGH_DISK: not enough disk spaceThe drive holding the OST or OAB files is fullFree space on the client's profile drive
0x80040110MAPI_E_VERSION: client and server versions are not compatibleAn old, unsupported Outlook buildUpdate Outlook and compare with Exchange's supported clients
0x80040112MAPI_E_SESSION_LIMIT: unable to create any more sessionsMany mailboxes, apps or scripts opening sessions as one userThat user's entries in the HttpProxy logs; remove extra mailboxes and apps
0x80040123ecTimeSkew (MAPI_E_INVALID_ACCESS_TIME): clock skew between serversClient, domain controller and Exchange clocks differw32tm /query /status on each
0x80040200MAPI_E_END_OF_SESSION: the server session was destroyed, possibly by a restartDatabase failover, store process restart or application pool recycleApplication log and Get-MailboxDatabaseCopyStatus at that time
0x8004011BMAPI_E_CORRUPT_DATA: internal inconsistency in a database or complex property valueA corrupt item or folder in the mailbox, or a damaged OSTRebuild the OST; New-MailboxRepairRequest
0x80040700MAPI_E_AMBIGUOUS_RECIP: an unresolved recipient matches more than one directory entryTwo recipients share a display name or alias prefixGet-Recipient -Anr "name"
0x80040900MAPI_E_NAMED_PROP_QUOTA_EXCEEDED: the store can't hold more named property mappingsThe mailbox has used up its named property quota, typically through applications creating many custom propertiesApplication log on the Mailbox server

Connection messages in Outlook#

MessageMeaningUsual causeFirst check
The connection to Microsoft Exchange is unavailable. Outlook must be online or connected to complete this action.Outlook can't reach Exchange while creating a profile or opening dataAutodiscover answer, MAPI/HTTP URL or load balancerTest E-mail AutoConfiguration (MAPI/HTTP guide)
Microsoft Exchange is not available. Either there are network problems or the Exchange server is down for maintenance.Outlook can't open a mailbox or folder on ExchangeOften public folders, archives or additional mailboxes with broken Autodiscover settingsAutodiscover results for that mailbox
Cannot start Microsoft Outlook. Cannot open the Outlook window. The set of folders cannot be opened.Outlook can't open its default store at start-upProfile or OST damage, Autodiscover or account problemsThe line under the message; a new test profile

Autodiscover codes#

Outlook's Autodiscover log#

CodeMeaningUsual causeFirst check
Autodiscover to https://autodiscover.contoso.com/autodiscover/autodiscover.xml Failed (0x800C8203)That Autodiscover URL didn't return usable settingsGiven by the GetLastError and httpStatus lines that followAutodiscover guide
Autoconfiguration was unable to determine your settings!Every Autodiscover method failedSCP, DNS and certificate problems togetherWork through the Log tab from the top
GetLastError=12007ERROR_INTERNET_NAME_NOT_RESOLVED: the server name could not be resolvedMissing autodiscover record in internal or external DNSResolve-DnsName autodiscover.contoso.com
GetLastError=12029ERROR_INTERNET_CANNOT_CONNECT: the attempt to connect to the server failedThe name resolves but nothing answers on 443: firewall, VIP down, wrong IPTest-NetConnection autodiscover.contoso.com -Port 443
GetLastError=12002ERROR_INTERNET_TIMEOUT: the request has timed outA firewall silently dropping traffic, a proxy, an overloaded serverThe same test from the client's network; proxy settings
GetLastError=12030ERROR_INTERNET_CONNECTION_ABORTED: the connection with the server has been terminatedA load balancer, firewall or TLS-inspection device closing the connectionBypass the device for a test; its logs

Certificate and TLS errors in the log#

CodeMeaningUsual causeFirst check
GetLastError=12038ERROR_INTERNET_SEC_CERT_CN_INVALID: the certificate's host name is incorrectThe certificate lacks the name Outlook connected to, often a server FQDNGet-ExchangeCertificate | fl Thumbprint,CertificateDomains (name mismatch guide)
GetLastError=12037ERROR_INTERNET_SEC_CERT_DATE_INVALID: the certificate is expiredExpired certificate on Exchange or the load balancerGet-ExchangeCertificate | ft Thumbprint,NotAfter,Services (renewal guide)
GetLastError=12045ERROR_INTERNET_INVALID_CA: unfamiliar certificate authorityInternal CA not trusted on that client, self-signed certificate, missing intermediateThe certificate path, viewed on the client
GetLastError=12057ERROR_INTERNET_SEC_CERT_REV_FAILED: revocation of the certificate failedThe client can't reach the CA's CRL or OCSP addresscertutil -verify -urlfetch on the exported certificate
GetLastError=12044ERROR_INTERNET_CLIENT_AUTH_CERT_NEEDED: the server is requesting client authenticationClient certificates set to Accept or Require for the virtual directory in IISIIS Manager › Default Web Site › Autodiscover › SSL Settings
GetLastError=12157ERROR_INTERNET_SECURITY_CHANNEL_ERROR: internal error loading the SSL librariesOften no TLS version or cipher in common after hardening one sideTLS settings on client and server (TLS guide)

HTTP responses and prompts#

CodeMeaningUsual causeFirst check
HTTP 401 on /Autodiscover, /mapi/emsmdb or /EWSUnauthorized: credentials rejectedWrong password, Kerberos without an ASA, Extended Protection behind SSL offloadingIIS and HttpProxy logs (password prompt guide)
HTTP 404Not FoundThe autodiscover name points at another web server, or the virtual directory is missingWhich IP answers; Get-AutodiscoverVirtualDirectory
HTTP 500Internal Server ErrorA failure inside Exchange or IIS: application pool or configurationApplication and HttpProxy logs (HTTP 500 guide)
HTTP 503Service UnavailableApplication pool stopped, a protocol component Inactive, server drainedGet-ServerComponentState (inactive components)
600 Invalid RequestAutodiscover answered, but the request wasn't a valid Autodiscover POSTNormal when you open autodiscover.xml in a browser; if Outlook gets it, something rewrote the requestA browser test: seeing 600 proves the service responds
Allow this website to configure <address> server settings?Outlook was redirected to another Autodiscover URL and asks before trusting itExpected with redirect or SRV designs; otherwise a DNS record points somewhere unexpectedThe redirect target on the Log tab; for an expected target, a RedirectServers registry value stops the prompt (Microsoft Learn)

Certificate warnings#

MessageMeaningUsual causeFirst check
The name on the security certificate is invalid or does not match the name of the siteThe URL's host name isn't on the certificateInternal URLs using server names that aren't on the SAN certificateVirtual directory URLs against the certificate names (guide)
The security certificate has expired or is not yet valid.The certificate is outside its validity datesExpired certificate, or a wrong clock on the clientNotAfter in Get-ExchangeCertificate; the client's clock
The security certificate was issued by a company you have not chosen to trust.The issuing CA isn't trusted on this deviceSelf-signed or internal-CA certificate on a published URLUse a certificate every client trusts

POP3 and IMAP4 accounts#

CodeMeaningUsual causeFirst check
0x800CCC0ECannot connect to the server.POP3/IMAP4 services stopped, wrong port or encryption setting, firewallGet-Service MSExchangePOP3,MSExchangePOP3BE,MSExchangeIMAP4,MSExchangeIMAP4BE (POP3/IMAP4 guide)
0x800CCC0FThe connection to the server was interrupted.The session was dropped: TLS mismatch, idle timeout, connection limits, firewallProtocol logging: Set-PopSettings / Set-ImapSettings -ProtocolLogEnabled $true

How to verify a fix#

  1. Autodiscover: in Test E-mail AutoConfiguration (clear the two Guessmart boxes), the Log tab shows the expected URL succeeding with 0x00000000, and the Results tab lists your namespace URLs.
  2. Connection: Connection Status shows every connection Established over HTTP, with no repeated reconnects.
  3. OAB: Send/Receive › Download Address Book completes, and the folder under %LOCALAPPDATA%\Microsoft\Outlook\Offline Address Books gets new files.
  4. Server: the checks below come back clean for each server, then repeat the client tests from outside your network, for example with Microsoft Remote Connectivity Analyzer.
PowerShell
Test-MAPIConnectivity -Identity user@contoso.com
Get-ServerComponentState -Identity EX01 | Where-Object { $_.State -ne "Active" }
Get-OfflineAddressBook | Format-List Name,IsDefault,VirtualDirectories,GeneratingMailbox
Get-ExchangeCertificate | Format-Table Thumbprint,NotAfter,Services,Subject -AutoSize
curl.exe -s -o NUL -w "%{http_code}" https://autodiscover.contoso.com/autodiscover/healthcheck.htm

Good: Success from Test-MAPIConnectivity, no inactive components, a default OAB with virtual directories, valid certificates and 200 from the health check. For Exchange Online mailboxes see Autodiscover for Exchange Online.

References#

Revision history: Oct 2026 — re-checked against Microsoft Learn: 1 detail reworded or labelled as reported by admins.

Written and checked against current Microsoft Learn documentation. Test changes with a pilot group before rolling them out to everyone, and if an admin center path has moved since, search for the setting name instead.

Spotted a mistake, or did this fix work differently for you? Email me or message me on LinkedIn — corrections are credited in the article.

Written by

Omer Eltayeb

Intune Subject Matter Expert in Cairo, Egypt, former Microsoft Cloud Solutions Architect, Microsoft Certified Trainer and Microsoft Innovative Educator Expert (2024–26) and Microsoft Elevate Educator Expert (2026–27). I share practical, step-by-step guides, study plans, scripts and toolkits for Microsoft Intune, Configuration Manager, Microsoft Entra ID, Microsoft Defender, Exchange and Microsoft 365 with the community.

Microsoft Certified Trainer (MCT) 2026Microsoft Innovative Educator Expert 2025–2026Microsoft Elevate Educator Expert 2026–2027ISC2 Certified Information Systems Security Professional (CISSP)Microsoft 365 Certified: Enterprise Administrator Expert (MS-102)