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
Registry
ComputerHKEY_LOCAL_MACHINE
- AutoEnrollMDMREG_DWORD
- UseAADCredentialTypeREG_DWORD
- MDMApplicationIdREG_SZ