groupPolicyDefinition resource type

Namespace: microsoft.graph

Important: Microsoft Graph APIs under the /beta version are subject to change; production use is not supported.

Note: The Microsoft Graph API for Intune requires an active Intune license for the tenant.

The entity describes all of the information about a single group policy.

Methods

Method Return Type Description
Get groupPolicyDefinition groupPolicyDefinition Read properties and relationships of the groupPolicyDefinition object.
Update groupPolicyDefinition groupPolicyDefinition Update the properties of a groupPolicyDefinition object.

Properties

Property Type Description
classType groupPolicyDefinitionClassType Identifies the type of groups the policy can be applied to. Possible values are: user, machine.
displayName String The localized policy name.
explainText String The localized explanation or help text associated with the policy. The default value is empty.
categoryPath String The localized full category path for the policy.
supportedOn String Localized string used to specify what operating system or application version is affected by the policy.
policyType groupPolicyType Specifies the type of group policy. Possible values are: admxBacked, admxIngested.
hasRelatedDefinitions Boolean Signifies whether or not there are related definitions to this definition
groupPolicyCategoryId Guid The category id of the parent category
minDeviceCspVersion String Minimum required CSP version for device configuration in this definition
minUserCspVersion String Minimum required CSP version for user configuration in this definition
version String Setting definition version
id String Key of the entity.
lastModifiedDateTime DateTimeOffset The date and time the entity was last modified.

Relationships

Relationship Type Description
definitionFile groupPolicyDefinitionFile The group policy file associated with the definition.
category groupPolicyCategory The group policy category associated with the definition.
presentations groupPolicyPresentation collection The group policy presentations associated with the definition.
previousVersionDefinition groupPolicyDefinition Definition of the previous version of this definition
nextVersionDefinition groupPolicyDefinition Definition of the next version of this definition

JSON Representation

Here is a JSON representation of the resource.

{
  "@odata.type": "#microsoft.graph.groupPolicyDefinition",
  "classType": "String",
  "displayName": "String",
  "explainText": "String",
  "categoryPath": "String",
  "supportedOn": "String",
  "policyType": "String",
  "hasRelatedDefinitions": true,
  "groupPolicyCategoryId": "Guid",
  "minDeviceCspVersion": "String",
  "minUserCspVersion": "String",
  "version": "String",
  "id": "String (identifier)",
  "lastModifiedDateTime": "String (timestamp)"
}