Enable automatic MDM enrollment using default Azure AD credentials

Policy ID
MDM_JoinMDM_DisplayName
Scope
Computer Configuration
Supported on
At least Windows 10
Source
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (version 1.0)
Category
Windows Components › MDM

Description


This policy setting specifies whether to automatically enroll the device to the Mobile Device Management (MDM) service configured in Azure Active Directory (Azure AD). If the enrollment is successful, the device will remotely managed by the MDM service.

Important: The device must be registered in Azure AD for enrollment to succeed.

If you do not configure this policy setting, automatic MDM enrollment will not be initiated.

If you enable this policy setting, a task is created to initiate enrollment of the device to MDM service specified in the Azure AD.

If you disable this policy setting, MDM will be unenrolled.

Options

  • Select Credential Type to Use:
    • User Credential
    • Device Credential
  • MDM Application ID:
  • MDM Application ID represents the ID of your MDM application that is configured in Azure AD. This is optional and only required for automatic MDM enrollment using device credentials when multiple MDM applications are configured in Azure AD.

Registry

ComputerHKEY_LOCAL_MACHINE
  • AutoEnrollMDMREG_DWORD
  • UseAADCredentialTypeREG_DWORD
  • MDMApplicationIdREG_SZ

Other policies in the same category

View all policies in this category (2)