Edit

Share via


assignmentError resource type

Namespace: microsoft.graph.cloudLicensing

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 an error that impacts synchronization of license assignments in the directory. This error can prevent the license assignment from taking effect or from updating.

Inherits from entity.

Methods

Method Return type Description
List microsoft.graph.cloudLicensing.assignmentError collection Get a list of the assignmentError objects within an organization or affecting a specific user.
Get microsoft.graph.cloudLicensing.assignmentError Read the properties and relationships of an assignmentError object.
Get assignedTo directoryObject Get a user or group object for a given assignmentError to which licenses are assigned.
Get usageRight microsoft.graph.cloudLicensing.usageRight Get a usageRight object affected by an assignmentError.

Properties

Property Type Description
code String The error code associated with the assignment synchronization failure.
id String The unique identifier for the assignmentError that should be treated as an opaque identifier. Inherited from entity. Not nullable. Read-only.
message String The error message associated with the assignment synchronization failure.
occurrenceDateTime DateTimeOffset The date and time at which the error most recently occurred. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
skuId Guid Unique identifier (GUID) for the service SKU that is equal to the skuId property on the related subscribedSku object. Read-only. Supports $filter.

Relationships

Relationship Type Description
assignedTo directoryObject The user to whom licenses are assigned. Not nullable. Read-only.
usageRight usageRight The affected usageRight, if one exists. Read-only.

JSON representation

The following JSON representation shows the resource type.

{
  "@odata.type": "#microsoft.graph.cloudLicensing.assignmentError",
  "code": "String",
  "id": "String (identifier)",
  "message": "String",
  "occurrenceDateTime": "String (timestamp)",
  "skuId": "Guid"
}