Skip to content

Outlook autodiscover fails for new WorkMail mailboxes — points to wrong endpoint (autodiscover.mail.us-east-1.awsapps.com instead of autodiscover-service.mail.us-east-1.awsapps.com)

0

Our Amazon WorkMail organization in the us-east-1 region is experiencing inconsistent autodiscover behavior when connecting mailboxes to Outlook (Windows desktop).

Older mailboxes still connect successfully when autodiscover resolves through the legacy endpoint: autodiscover.mail.us-east-1.awsapps.com

However, any new or recently recreated mailboxes fail to connect in Outlook unless autodiscover points to: autodiscover-service.mail.us-east-1.awsapps.com

Our DNS record currently points to the correct new endpoint: autodiscover-service.mail.us-east-1.awsapps.com

When attempting to add a new email address to outlook users are hanging on a "Please wait while we get things set up"

We have already:

  • Deleted/recreated the affected mailbox
  • Cleared Outlook profiles, cached credentials, and local registry keys
  • Verified that autodiscover-service.mail.us-east-1.awsapps.com resolves and responds with HTTP 600

How do we proceed from here

asked 10 months ago214 views

2 Answers
2

Would suggest to check on below at first place:

  1. Force Outlook to use the correct endpoint • Add a registry key to disable SCP and legacy fallback:
[HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Outlook\AutoDiscover]
"ExcludeScpLookup"=dword:00000001
"ExcludeHttpsRootDomain"=dword:00000001
"ExcludeSrvRecord"=dword:00000001
"ExcludeExplicitO365Endpoint"=dword:00000001

This forces Outlook to use the autodiscover-service.mail.us-east-1.awsapps.com endpoint directly. 2. Verify DNS propagation • Confirm that your public DNS record for autodiscover.yourdomain.com is a CNAME pointing to:

autodiscover-service.mail.us-east-1.awsapps.com

• Use nslookup or dig from multiple locations to ensure global propagation. 3. Use Microsoft Remote Connectivity Analyzer • Run the Outlook Autodiscover test at testconnectivity.microsoft.com to verify endpoint behavior. • Look for any unexpected redirects or 600 errors. 4. Check SSL certificate trust • Ensure the SSL certificate for autodiscover-service.mail.us-east-1.awsapps.com is trusted by the client machine. • If using a proxy or firewall, confirm it doesn’t interfere with HTTPS traffic to AWS endpoints.

EXPERT

answered 10 months ago

  • Thank you for your help, we have attempted most of the fixes you mentioned. We followed the instructions on the previous post and found that the SSL being presented is incorrect and causing outlook to fail.

    The Outlook Autodiscover test no longer supports AWS, it is required to have a Microsoft account to use.

    When connecting directly to https://ews.mail.us-east-1.awsapps.com/EWS/Exchange.asmx, the SSL certificate returned by the server is for CN = autodiscover-service.mail.us-east-1.awsapps.com.

    This causes Outlook manual setup to fail with the error: “The name on the security certificate is invalid or does not match the name of the site.”

    It appears the EWS endpoint in us-east-1 is presenting the wrong SSL certificate (autodiscover-service instead of ews).

0

The issue you're experiencing with Outlook autodiscover for Amazon WorkMail appears to be related to how the AutoDiscover process works with multiple phases.

When Outlook attempts to configure a mailbox, it goes through several AutoDiscover phases:

  1. Phase 1: An SCP lookup against local Active Directory (skipped if not domain-joined)
  2. Phase 2: Sending requests to URLs like:
  1. Phase 3: DNS lookup to autodiscover.company.tld and sending requests to the endpoint

The correct endpoint for US East (N. Virginia) region is indeed "autodiscover-service.mail.us-east-1.awsapps.com/autodiscover/autodiscover.xml" as per AWS documentation.

Since your older mailboxes are still working but new ones aren't, this suggests that Outlook might be caching the old endpoint information or there might be conflicting DNS records.

Here are some additional troubleshooting steps:

  1. Ensure your DNS configuration is correctly set up for both Phase 2 and Phase 3 of the AutoDiscover process
  2. Check if there are any old CNAME records pointing to the legacy endpoint that might be causing conflicts
  3. Test the AutoDiscover endpoint configuration by making an unauthenticated POST request to verify it's working correctly
  4. Consider setting up AutoDiscover Phase 2 manually using either Route53 and CloudFront or an Apache web server as described in AWS documentation
  5. For affected users, try configuring Outlook manually with the correct Exchange Web Services (EWS) endpoint: https://ews.mail.us-east-1.awsapps.com/EWS/Exchange.asmx

If these steps don't resolve the issue, you may need to contact AWS Support for further assistance, as there could be a more complex problem with your WorkMail configuration.
Sources
Amazon WorkMail endpoints and quotas - AWS General Reference
Enabling AutoDiscover to configure endpoints - Amazon WorkMail

answered 10 months ago

  • When connecting directly to https://ews.mail.us-east-1.awsapps.com/EWS/Exchange.asmx, the SSL certificate returned by the server is for CN = autodiscover-service.mail.us-east-1.awsapps.com.

    This causes Outlook manual setup to fail with the error: “The name on the security certificate is invalid or does not match the name of the site.”

    It appears the EWS endpoint in us-east-1 is presenting the wrong SSL certificate (autodiscover-service instead of ews).

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.