大网数据广告活动
域与目录服务

Error 0x80072EE7 when you perform Workplace Join

· 52CE 我爱测

Fixes an error 0x80072EE7 that occurs when users perform a Workplace Join.

This article provides a solution to an error 0x80072EE7 that occurs when users perform a Workplace Join.

Original KB number:   3045385

Note: Home users: This article is intended for use by support agents and IT professionals, not by home users. For best search results, change your search keywords to include the product that's triggering the error and the error code.

Symptoms

When users try to perform a Workplace Join, they receive the following error message:

Confirm you are using the current sign-in info, and that your workplace uses this feature. Also, the connection to your workplace might not be working right now. Wait and try again.

Additionally, an administrator may see the following event details in Event Viewer:

Event ID: 102
Log Name: Microsoft-Windows-Workplace Join/Admin
Source: Microsoft-Windows-Workplace Join
Level: Error
Description:
Workplace Join discovery failed.

Exit Code: 0x80072EE7.

The server name or address could not be resolved. Could not connect to https://EnterpriseRegistration.domainTEST.com:443/EnrollmentServer/contract?api-version=1.0.

Cause

This problem occurs if one of the following conditions is true:

  • The currently signed-in user is from a domain that does not contain a DNS record for the DRS Service.
  • A user who has a user principal name (UPN) suffix that uses the initial domain (for example, joe@contoso.onmicrosoft.com) and who is not yet enabled as the mobile device management authority through Microsoft Intune for mobile device management in Office 365 tries to perform a Workplace Join.

Resolution

Verify DNS

To resolve this problem, follow these steps:

  1. Verify the EnterpriseRegistration CNAME record for the UPN suffix of the user account. This is the part after the "@" character, such as in john@contoso.com.

  2. Open a Command Prompt window, and then run the following command:

    Nslookup enterpriseregistration.domain.com 
    
    • If you use Microsoft Entra join

      Results should return the CNAME result of EnterpriseRegistration.windows.net.

    • If you use Windows Server Workplace Join

      • Internal host should return internal ADFS node.
      • External host should return external ADFS Proxy (if present).

References

For more troubleshooting information, see the following article in the Microsoft Knowledge Base:

3045377 Diagnostic logging for troubleshooting Workplace Join issues

Source: Microsoft Learn / IT Pro troubleshooting by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / IT Pro troubleshooting
适用范围
- Supported versions of Windows Server · Source date 02/12/2026
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。