ADMX Viewer
Microsoft.Policies.MDM• Machine

Enable automatic MDM enrollment using default Azure AD credentials

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.

Policy Details

Policy Name
MDM_JoinMDM_DisplayName
Registry Key
Software\Policies\Microsoft\Windows\CurrentVersion\MDM
Value Name
AutoEnrollMDM
Supported On
At least Windows 10
Policy State Values
Enabled: 1
Disabled: 0
Available Languages
en-us

Configuration Elements

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.

Select Credential Type to Use:

Type: enum

Allowed Values
  • 1 User Credential
  • 2 Device Credential

MDM Application ID:

Type: text

Max length: 255