entitlement_management_assignments
Creates, updates, deletes, gets or lists an entitlement_management_assignments resource.
Overview
| Name | entitlement_management_assignments |
| Type | Resource |
| Id | entra_id.identity_governance.entitlement_management_assignments |
Fields
The following fields are returned by SELECT queries:
- get
- list
Retrieved navigation property
| Name | Datatype | Description |
|---|---|---|
id | string | The unique identifier for an entity. Read-only. |
accessPackage | | Read-only. Nullable. Supports $filter (eq) on the id property and $expand query parameters. |
assignmentPolicy | | Read-only. Supports $filter (eq) on the id property and $expand query parameters. |
customExtensionCalloutInstances | array | Information about all the custom extension calls that were made during the access package assignment workflow. |
expiredDateTime | string (date-time) | The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. (pattern: ^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$) |
schedule | | When the access assignment is to be in place. Read-only. |
state | | The state of the access package assignment. The possible values are: delivering, partiallyDelivered, delivered, expired, deliveryFailed, unknownFutureValue. Read-only. Supports $filter (eq). |
status | string | More information about the assignment lifecycle. Possible values include Delivering, Delivered, AutoAssignmentInGracePeriod, NearExpiry1DayNotificationTriggered, or ExpiredNotificationTriggered. Read-only. |
target | | The subject of the access package assignment. Read-only. Nullable. Supports $expand. Supports $filter (eq) on objectId. |
Retrieved collection
| Name | Datatype | Description |
|---|---|---|
id | string | The unique identifier for an entity. Read-only. |
accessPackage | | Read-only. Nullable. Supports $filter (eq) on the id property and $expand query parameters. |
assignmentPolicy | | Read-only. Supports $filter (eq) on the id property and $expand query parameters. |
customExtensionCalloutInstances | array | Information about all the custom extension calls that were made during the access package assignment workflow. |
expiredDateTime | string (date-time) | The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. (pattern: ^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$) |
schedule | | When the access assignment is to be in place. Read-only. |
state | | The state of the access package assignment. The possible values are: delivering, partiallyDelivered, delivered, expired, deliveryFailed, unknownFutureValue. Read-only. Supports $filter (eq). |
status | string | More information about the assignment lifecycle. Possible values include Delivering, Delivered, AutoAssignmentInGracePeriod, NearExpiry1DayNotificationTriggered, or ExpiredNotificationTriggered. Read-only. |
target | | The subject of the access package assignment. Read-only. Nullable. Supports $expand. Supports $filter (eq) on objectId. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | access_package_assignment_id | In Microsoft Entra entitlement management, retrieve the properties and relationships of an accessPackageAssignment object. | |
list | select | In Microsoft Entra entitlement management, retrieve a list of accessPackageAssignment objects. For directory-wide administrators, the resulting list includes all the assignments, current and well as expired, that the caller has access to read, across all catalogs and access packages. If the caller is on behalf of a delegated user who is assigned only to catalog-specific delegated administrative roles, the request must supply a filter to indicate a specific access package, such as: $filter=accessPackage/id eq 'a914b616-e04e-476b-aa37-91038f0b165b'. | ||
insert | insert | |||
update | update | access_package_assignment_id | ||
delete | delete | access_package_assignment_id | If-Match | |
reprocess | exec | access_package_assignment_id | In Microsoft Entra entitlement management, callers can automatically reevaluate and enforce an accessPackageAssignment object of a user’s assignments for a specific access package. The state of the access package assignment must be Delivered for the administrator to reprocess the user's assignment. Only admins with the Access Package Assignment Manager role, or higher, in Microsoft Entra entitlement management can perform this action. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
access_package_assignment_id | string | The unique identifier of accessPackageAssignment |
If-Match | string | ETag |
SELECT examples
- get
- list
In Microsoft Entra entitlement management, retrieve the properties and relationships of an accessPackageAssignment object.
SELECT
id,
accessPackage,
assignmentPolicy,
customExtensionCalloutInstances,
expiredDateTime,
schedule,
state,
status,
target
FROM entra_id.identity_governance.entitlement_management_assignments
WHERE access_package_assignment_id = '{{ access_package_assignment_id }}' -- required
;
In Microsoft Entra entitlement management, retrieve a list of accessPackageAssignment objects. For directory-wide administrators, the resulting list includes all the assignments, current and well as expired, that the caller has access to read, across all catalogs and access packages. If the caller is on behalf of a delegated user who is assigned only to catalog-specific delegated administrative roles, the request must supply a filter to indicate a specific access package, such as: $filter=accessPackage/id eq 'a914b616-e04e-476b-aa37-91038f0b165b'.
SELECT
id,
accessPackage,
assignmentPolicy,
customExtensionCalloutInstances,
expiredDateTime,
schedule,
state,
status,
target
FROM entra_id.identity_governance.entitlement_management_assignments
;
INSERT examples
- insert
- Manifest
No description available.
INSERT INTO entra_id.identity_governance.entitlement_management_assignments (
id,
customExtensionCalloutInstances,
expiredDateTime,
schedule,
state,
status,
accessPackage,
assignmentPolicy,
target
)
SELECT
'{{ id }}',
'{{ customExtensionCalloutInstances }}',
'{{ expiredDateTime }}',
'{{ schedule }}',
'{{ state }}',
'{{ status }}',
'{{ accessPackage }}',
'{{ assignmentPolicy }}',
'{{ target }}'
RETURNING
id,
accessPackage,
assignmentPolicy,
customExtensionCalloutInstances,
expiredDateTime,
schedule,
state,
status,
target
;
# Description fields are for documentation purposes
- name: entitlement_management_assignments
props:
- name: id
value: "{{ id }}"
description: |
The unique identifier for an entity. Read-only.
- name: customExtensionCalloutInstances
description: |
Information about all the custom extension calls that were made during the access package assignment workflow.
value:
- customExtensionId: "{{ customExtensionId }}"
detail: "{{ detail }}"
externalCorrelationId: "{{ externalCorrelationId }}"
id: "{{ id }}"
status: "{{ status }}"
- name: expiredDateTime
value: "{{ expiredDateTime }}"
description: |
The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only.
- name: schedule
value: "{{ schedule }}"
description: |
When the access assignment is to be in place. Read-only.
- name: state
value: "{{ state }}"
description: |
The state of the access package assignment. The possible values are: delivering, partiallyDelivered, delivered, expired, deliveryFailed, unknownFutureValue. Read-only. Supports $filter (eq).
- name: status
value: "{{ status }}"
description: |
More information about the assignment lifecycle. Possible values include Delivering, Delivered, AutoAssignmentInGracePeriod, NearExpiry1DayNotificationTriggered, or ExpiredNotificationTriggered. Read-only.
- name: accessPackage
value: "{{ accessPackage }}"
description: |
Read-only. Nullable. Supports $filter (eq) on the id property and $expand query parameters.
- name: assignmentPolicy
value: "{{ assignmentPolicy }}"
description: |
Read-only. Supports $filter (eq) on the id property and $expand query parameters.
- name: target
value: "{{ target }}"
description: |
The subject of the access package assignment. Read-only. Nullable. Supports $expand. Supports $filter (eq) on objectId.
UPDATE examples
- update
No description available.
UPDATE entra_id.identity_governance.entitlement_management_assignments
SET
id = '{{ id }}',
customExtensionCalloutInstances = '{{ customExtensionCalloutInstances }}',
expiredDateTime = '{{ expiredDateTime }}',
schedule = '{{ schedule }}',
state = '{{ state }}',
status = '{{ status }}',
accessPackage = '{{ accessPackage }}',
assignmentPolicy = '{{ assignmentPolicy }}',
target = '{{ target }}'
WHERE
access_package_assignment_id = '{{ access_package_assignment_id }}' --required
RETURNING
id,
accessPackage,
assignmentPolicy,
customExtensionCalloutInstances,
expiredDateTime,
schedule,
state,
status,
target;
DELETE examples
- delete
No description available.
DELETE FROM entra_id.identity_governance.entitlement_management_assignments
WHERE access_package_assignment_id = '{{ access_package_assignment_id }}' --required
AND If-Match = '{{ If-Match }}'
;
Lifecycle Methods
- reprocess
In Microsoft Entra entitlement management, callers can automatically reevaluate and enforce an accessPackageAssignment object of a user’s assignments for a specific access package. The state of the access package assignment must be Delivered for the administrator to reprocess the user's assignment. Only admins with the Access Package Assignment Manager role, or higher, in Microsoft Entra entitlement management can perform this action.
EXEC entra_id.identity_governance.entitlement_management_assignments.reprocess
@access_package_assignment_id='{{ access_package_assignment_id }}' --required
;