Microsoft Exchange

Nojus Masiulis 0 Reputation points
2024-09-11T10:22:38.8966667+00:00

Dear Microsoft Team,

We are facing some issues regarding connecting our work email with our Microsoft Exchange account.

How can we properly connect it? Our work domain is [email protected] . We already have a Microsoft Business Premium account which has full access to Microsoft Exchange. For some reason, this window appears when trying to connect to Microsoft Exchange. Please see the screenshot down below. I will be waiting for your feedback. Appreciate it.

Cetificate

Microsoft Exchange Online
Exchange Server
Exchange Server
A family of Microsoft client/server messaging and collaboration software.
1,289 questions
Microsoft Exchange Online Management
Microsoft Exchange Online Management
Microsoft Exchange Online: A Microsoft email and calendaring hosted service.Management: The act or process of organizing, handling, directing or controlling something.
4,515 questions
Exchange Server Management
Exchange Server Management
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Management: The act or process of organizing, handling, directing or controlling something.
7,627 questions
Microsoft Exchange
Microsoft Exchange
Microsoft messaging and collaboration software.
531 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. msfteppner 166 Reputation points
    2024-09-23T11:17:31.25+00:00

    Hi Nojus,

    I'm sorry to hear that you're experiencing this issue. The error message you're seeing—"The name on the security certificate is invalid or does not match the name of the site"—typically indicates a problem with the Autodiscover service for your domain. Are you trying to connect to an on-premises Exchange Server or to Exchange Online? If you're trying to access Exchange Online, as I understand it, you can go through some steps to resolve this:

    1. Verify Your Autodiscover DNS Records

    • CNAME Record for Autodiscover:
      • Ensure that there's a CNAME record for autodiscover.profmaris.com pointing to autodiscover.outlook.com.
      • This tells Outlook where to find the Autodiscover service for Exchange Online.
    • How to Check:
      • Log in to your domain registrar or DNS hosting provider's management portal. Look for a CNAME record with the host name autodiscover. The record should look like:
        Host: autodiscover Type: CNAME Points to: autodiscover.outlook.com

    2. Remove Any Conflicting Autodiscover Records

    • If you previously had an on-premises Exchange server or other email services, there might be old DNS records causing conflicts.
    • Delete any Autodiscover A or CNAME records that point to old servers or IP addresses not associated with Microsoft.

    3. Test Autodiscover Using Microsoft's Tool

    • Use the Microsoft Remote Connectivity Analyzer to test your Autodiscover configuration.
    • Steps:

    4. Clear Outlook Credentials and Autodiscover Cache

    • Sometimes, Outlook caches old Autodiscover settings.
    • Steps:
      • Close Outlook.
        • Go to Control Panel > Credential Manager. Remove any stored credentials related to your email account. Delete the Autodiscover cache: Navigate to %USERPROFILE%\AppData\Local\Microsoft\Outlook. Delete the Autodiscover.xml files. Restart Outlook and try setting up your account again.

    5. Use an SRV Record as an Alternative

    • If the CNAME method isn't working, you can set up an SRV record for Autodiscover.
    • SRV Record Details: Service: _autodiscover Protocol: _tcp Port Number: 443 Host: autodiscover.outlook.com

    This method tells email clients to look at autodiscover.outlook.com for Autodiscover services.

    6. Ensure There's No Local Redirection

    • Check your local hosts file to ensure there's no entry redirecting Autodiscover queries.
    • Location: C:\Windows\System32\drivers\etc\hosts
    • Open the file with Notepad and look for any lines containing autodiscover.profmaris.com. If found, consider removing them.

    7. Contact Your Domain Registrar or DNS Hosting Provider

    • If you're unsure about modifying DNS records, reach out to your domain registrar's support team.
    • They can assist you in verifying and updating your DNS settings to ensure they point correctly to Microsoft Exchange Online.

    If after trying these steps you're still experiencing problems, please let me know, and we can explore further options.

    Best regards,
    T. 

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.