defaultDeviceEnrollmentRestrictions resource type

Note: Using the Microsoft Graph APIs to configure Intune controls and policies still requires that the Intune service is correctly licensed by the customer.

Device Enrollment Restrictions

Properties

Property Type Description
iosRestrictions deviceEnrollmentPlatformRestrictions Restrictions on iOS enrollment
windowsRestrictions deviceEnrollmentPlatformRestrictions Restrictions on Android enrollment
windowsMobileRestrictions deviceEnrollmentPlatformRestrictions Restrictions on Windows Mobile enrollment
androidRestrictions deviceEnrollmentPlatformRestrictions Restrictions on Windows Desktop enrollment
macRestrictions deviceEnrollmentPlatformRestrictions Restrictions on Mac enrollment

Note: The defaultDeviceEnrollmentRestrictions resource exposes settings to block personal device enrollment for all platforms types. However, the settings for macOS and Windows are for future development and are not currently used by Intune.

Relationships

None

JSON Representation

Here is a JSON representation of the resource.

{
  "@odata.type": "#microsoft.graph.defaultDeviceEnrollmentRestrictions",
  "iosRestrictions": {
    "@odata.type": "microsoft.graph.deviceEnrollmentPlatformRestrictions",
    "platformBlocked": true,
    "personalDeviceEnrollmentBlocked": true
  },
  "windowsRestrictions": {
    "@odata.type": "microsoft.graph.deviceEnrollmentPlatformRestrictions",
    "platformBlocked": true,
    "personalDeviceEnrollmentBlocked": true
  },
  "windowsMobileRestrictions": {
    "@odata.type": "microsoft.graph.deviceEnrollmentPlatformRestrictions",
    "platformBlocked": true,
    "personalDeviceEnrollmentBlocked": true
  },
  "androidRestrictions": {
    "@odata.type": "microsoft.graph.deviceEnrollmentPlatformRestrictions",
    "platformBlocked": true,
    "personalDeviceEnrollmentBlocked": true
  },
  "macRestrictions": {
    "@odata.type": "microsoft.graph.deviceEnrollmentPlatformRestrictions",
    "platformBlocked": true,
    "personalDeviceEnrollmentBlocked": true
  }
}