- Newest
- Most votes
- Most comments
Would suggest to check on below at first place:
- 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.
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:
- Phase 1: An SCP lookup against local Active Directory (skipped if not domain-joined)
- Phase 2: Sending requests to URLs like:
- https://company.tld/autodiscover/autodiscover.xml
- https://autodiscover.company.tld/autodiscover/autodiscover.xml
- 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:
- Ensure your DNS configuration is correctly set up for both Phase 2 and Phase 3 of the AutoDiscover process
- Check if there are any old CNAME records pointing to the legacy endpoint that might be causing conflicts
- Test the AutoDiscover endpoint configuration by making an unauthenticated POST request to verify it's working correctly
- Consider setting up AutoDiscover Phase 2 manually using either Route53 and CloudFront or an Apache web server as described in AWS documentation
- 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).
Relevant content
asked 2 years ago
asked 4 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 8 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).