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.
groupPolicyCategoryId Guid The category id of the parent category
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.

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",
  "groupPolicyCategoryId": "Guid",
  "id": "String (identifier)",
  "lastModifiedDateTime": "String (timestamp)"
}