Manage corporate enrollment policy


When your organization signs up for a Microsoft cloud-based service like Intune, you're given an initial domain name hosted in Microsoft Entra ID that follows this model: In this example, your-domain is the domain name that you chose when you signed up. is the suffix assigned to the accounts you add to your subscription. You can configure your organization's custom domain to access Intune instead of the domain name provided with your subscription.

Before you create user accounts or synchronize your on-premises Active Directory, we strongly recommend that you add one or more of your custom domain names. This will simplify user management and lets users sign in with the credentials they use to access other domain resources.

You can decide to use only the domain if you want to, but it should really only be used for the initial setup or when you are testing. You cannot rename or remove the initial domain name. You can add, verify or remove custom domain names used with Intune to keep your business identity clear.

To add and verify your custom domain

  1. Go to the Microsoft 365 admin center and sign into your administrator account.

  2. In the navigation pane, choose Setup - Domains.

  3. Choose Add domain, and type your custom domain name. Select Next.

    Screenshot of the 'Add a domain' screen, within the Microsoft 365 admin center.

  4. The Verify domain dialog box opens giving you the values to create the TXT record in your DNS hosting provider.

    • GoDaddy users: Microsoft 365 admin center redirects you to GoDaddy's login page. After you enter your credentials and accept the domain change permission agreement, the TXT record is created automatically. Alternatively, you can create the TXT record.
    • users: Follow the step-by-step instructions to create the TXT record.

Once you've set up Intune, users enroll Windows devices by signing in with their work or school account.

As an Intune admin, you can simplify enrollment in the following ways:

  • Enable automatic enrollment (Microsoft Entra ID P1 or P2 required)
  • CNAME registration
  • Enable bulk enrollment (Microsoft Entra ID P1 or P2 and Windows Configuration Designer required)

Configure automatic MDM enrollment

Automatic enrollment lets users enroll their Windows devices in Intune. To enroll, users add their work account to their personally owned devices or join corporate-owned devices to Microsoft Entra ID. In the background, the device registers and joins Microsoft Entra ID. Once registered, the device is managed with Intune.

  1. Sign in to Endpoint Manager admin center located at

  2. Select Devices - Enroll devices - Automatic enrollment.

  3. Configure the MDM User scope. Specify which users’ devices should be managed by Microsoft Intune. These Windows devices can automatically enroll in Microsoft Intune.

    • None - MDM automatic enrollment is disabled
    • Some - Select the Groups that can automatically enroll their Windows devices
    • All - All users can automatically enroll their Windows devices
  4. Use the default values for the following URLs:

    • MDM Terms of use URL
    • MDM Discovery URL
    • MDM Compliance URL
  5. Select Save.

Simplify Manual Enrollment (Optional)

If you do not have Microsoft Entra ID P1 or P2, you can create a domain name server (DNS) alias (CNAME record type) that redirects enrollment requests to Intune servers. While optional, if no CNAME record is found, users are prompted to manually enter the MDM server name,

Step 1: Create CNAME records

Create CNAME DNS resource records for your company’s domain. For example, if your company’s website is, you would create a CNAME in DNS that redirects to

Microsoft Entra ID has a different CNAME that it uses for device registration for iOS, Android, and Windows devices. If you plan to use conditional access, you should also configure the EnterpriseRegistration CNAME for each company name you have.

We recommend that you create both CNAME records for all DNS names that you own.


Host name

Points to

TTL (Time-To-Live)


1 hour


1 hour

If the company uses more than one UPN suffix, you need to create two CNAME records for each domain name and point each one to and respectively.

Step 2: Verify CNAME
  1. Sign in to Endpoint Manager admin center located at
  2. In the left navigation, select Devices then select Enroll devices.
  3. On the Windows enrollment page, select CNAME Validation.
  4. In the Domain box, enter the company website and then select Test.

Changes to DNS records might take up to 72 hours to propagate. You can't verify the DNS change in Intune until the DNS record propagates.