Edit

policyAssignment resource type

Namespace: microsoft.graph.windowsUpdates

Important

APIs under the /beta version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported. To determine whether an API is available in v1.0, use the Version selector.

Represents a read-only assignment that associates a Windows Autopatch policy with a device.

Methods

Method Return type Description
List policyAssignments microsoft.graph.windowsUpdates.policyAssignment collection List policy assignments and their associated devices.
Get policy assignment microsoft.graph.windowsUpdates.policyAssignment Read the properties and relationships of a policy assignment.

Properties

Property Type Description
azureAdDeviceId String The Microsoft Entra identifier of the assigned device. Read-only.
id String The unique identifier for the assignment. Read-only.
policyId String The identifier of the assigned Windows Autopatch policy. Read-only.
policyName String The display name of the assigned Windows Autopatch policy. Read-only.

Relationships

Relationship Type Description
deviceProfile microsoft.graph.windowsUpdates.deviceProfile The profile of the assigned device.

JSON representation

The following JSON representation shows the resource type.

{
  "@odata.type": "#microsoft.graph.windowsUpdates.policyAssignment",
  "azureAdDeviceId": "String",
  "id": "String (identifier)",
  "policyId": "String",
  "policyName": "String"
}