SSL/TLS certificate validation issue for enterpriseregistration

Balachander 0 Reputation points
2026-11-25T06:56:17.0066667+00:00
  1. Is CN=graph.windows.net expected when enterpriseregistration.****** CNAMEs to EnterpriseRegistration.windows.net?
  2. Is the customer's enterpriseregistration.******.com hostname required to be in the certificate SAN?
  3. Is the certificate lifecycle/binding completely Microsoft-managed?
  4. Is the scanner result "certificate does not match supplied URI (same w/o SNI)" expected for this discovery endpoint?
Microsoft Security | Microsoft Entra | Other

2 answers

Sort by: Most helpful
  1. Sreejith Reghunathan Pillai 110 Reputation points MVP
    2026-11-26T17:33:49.39+00:00

    Hi,
    The EnterpriseRegistration CNAME is used for Microsoft Entra device registration discovery, and the destination endpoint and its certificate lifecycle are managed by Microsoft. The customer is not required to configure a custom SSL certificate for this Microsoft-hosted service.

    Since your vulnerability scanner is directly querying the customer-specific CNAME, the certificate mismatch could be related to hostname validation rather than an actual device registration issue.

    Also, Microsoft has announced the retirement of EnterpriseEnrollment CNAME-based discovery for Windows MDM-only enrollment starting January 15, 2027 (MC1509780). However, this retirement does not cover the EnterpriseRegistration CNAME.

    Microsoft still recommends configuring EnterpriseRegistration for device registration and Conditional Access scenarios. Therefore, I would not recommend removing this DNS record solely to address the vulnerability scanner finding.

    Could you confirm whether you are experiencing any actual device registration issues or whether this is purely a security assessment observation? Also, does the certificate SAN include enterpriseregistration.windows.net?Could you also check whether you get the same certificate validation error when scanning enterpriseregistration.windows.net directly?

    Was this answer helpful?

    0 comments No comments

  2. AI answer

    2026-11-25T06:57:31.13+00:00

    Configure and validate EnterpriseRegistration.<UPN-suffix> as a DNS CNAME to EnterpriseRegistration.windows.net; do not provision or bind a customer certificate solely to satisfy a generic HTTPS scanner unless Microsoft Support confirms that requirement for the device-registration service.^1^

    Answers to the four questions

    • Is CN=graph.windows.net expected?
      The available Microsoft documentation does not establish that graph.windows.net is the expected certificate identity for EnterpriseRegistration.windows.net. Treat that observation as requiring further investigation, especially if it also occurs when the TLS client sends SNI for enterpriseregistration.windows.net. Microsoft documents https://enterpriseregistration.windows.net as the Azure Device Registration Service discovery endpoint and shows it as the JoinSrvUrl and KeySrvUrl; it does not document graph.windows.net as its TLS certificate name.^2^
    • Must enterpriseregistration.<customer-domain> appear in the certificate SAN?
      Microsoft’s setup documentation requires that name as a DNS alias, not as a customer-hosted HTTPS custom-domain binding:
        EnterpriseRegistration.contoso.com
            CNAME EnterpriseRegistration.windows.net
      
      ^1^ None of the supplied Microsoft documentation says that every customer alias must appear in the Microsoft endpoint certificate. Therefore, do not request or install a certificate containing the customer alias for this Microsoft-hosted endpoint. That would be appropriate only if the hostname terminated TLS on infrastructure controlled by the customer, which this documented CNAME configuration does not.
    • Is certificate lifecycle and binding Microsoft-managed?
      For the service reached at EnterpriseRegistration.windows.net, TLS termination and its server certificate are on Microsoft’s service. The customer controls the custom domain’s DNS CNAME and must create it for each applicable company domain or UPN suffix.^1^ The supplied documentation does not describe the endpoint’s internal certificate issuance, renewal schedule, binding mechanism, or the reason for a graph.windows.net certificate. Those implementation details should not be inferred from the CNAME instructions.
    • Is “certificate does not match supplied URI (same w/o SNI)” expected?
      It can be an artifact of scanning the customer CNAME as though it were a conventional custom HTTPS site, but the exact result is not documented as expected Microsoft behavior. “Same w/o SNI” also does not prove that SNI is irrelevant: confirm what hostname the scanner sends in the TLS handshake and what endpoint it validates. SNI lets a shared endpoint select TLS settings and a certificate based on the requested server name.^3^ A result obtained without SNI is not sufficient to assess a modern shared Microsoft endpoint.

    Validate the supported path

    1. Verify DNS for the actual UPN suffix:
         nslookup enterpriseregistration.contoso.com
      
      The result should show EnterpriseRegistration.windows.net as the CNAME target.^4^
    2. Test the Microsoft endpoint from an affected device under the system context, not only from an external scanner. Microsoft’s Test-DeviceRegConnectivity sample checks connectivity and the SSL/TLS handshake for:
      • login.microsoftonline.com
      • device.login.microsoftonline.com
      • enterpriseregistration.windows.net
      Run it as a local administrator; it is read-only and requires no PowerShell module.^5^
    3. For an actual join failure, run:
         dsregcmd /status
      
      Check DRS Discovery Test, JoinSrvUrl, the previous registration error phase, and the client/suberror codes. Also inspect Event Viewer → Applications and Services Logs → Microsoft → Windows → User Device Registration.^2^
    4. If DNS is correct but the Microsoft connectivity test fails TLS validation, test outside any TLS-inspection proxy or security appliance. Capture the certificate chain and SNI value. Escalate to Microsoft Support with the UTC timestamp, resolved IP, full certificate chain, scanner command/options, and dsregcmd diagnostics—particularly if graph.windows.net is returned while explicitly connecting with SNI set to enterpriseregistration.windows.net.

    References

    1. Enable auto-discovery of Intune enrollment server
    2. Troubleshoot Microsoft Entra hybrid joined devices - Microsoft Entra ID | Microsoft Learn
    3. Customize SNI in HTTP requests
    4. "Workplace Join discovery failed" error with exit code 0x80072EE7
    5. Test Device Registration Connectivity - Code Samples | Microsoft Learn
    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

Your answer

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