groupPolicyObjectFile 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 Group Policy Object file uploaded by admin.

Methods

Method Return Type Description
List groupPolicyObjectFiles groupPolicyObjectFile collection List properties and relationships of the groupPolicyObjectFile objects.
Get groupPolicyObjectFile groupPolicyObjectFile Read properties and relationships of the groupPolicyObjectFile object.
Create groupPolicyObjectFile groupPolicyObjectFile Create a new groupPolicyObjectFile object.
Delete groupPolicyObjectFile None Deletes a groupPolicyObjectFile.
Update groupPolicyObjectFile groupPolicyObjectFile Update the properties of a groupPolicyObjectFile object.

Properties

Property Type Description
id String
groupPolicyObjectId Guid The Group Policy Object GUID from GPO Xml content
ouDistinguishedName String The distinguished name of the OU.
createdDateTime DateTimeOffset The date and time at which the GroupPolicy was first uploaded.
lastModifiedDateTime DateTimeOffset The date and time at which the GroupPolicyObjectFile was last modified.
content String The Group Policy Object file content.
roleScopeTagIds String collection The list of scope tags for the configuration.

Relationships

None

JSON Representation

Here is a JSON representation of the resource.

{
  "@odata.type": "#microsoft.graph.groupPolicyObjectFile",
  "id": "String (identifier)",
  "groupPolicyObjectId": "Guid",
  "ouDistinguishedName": "String",
  "createdDateTime": "String (timestamp)",
  "lastModifiedDateTime": "String (timestamp)",
  "content": "String",
  "roleScopeTagIds": [
    "String"
  ]
}