Skip to main content

entitlement_management_assignment_policies

Creates, updates, deletes, gets or lists an entitlement_management_assignment_policies resource.

Overview

Nameentitlement_management_assignment_policies
TypeResource
Identra_id.identity_governance.entitlement_management_assignment_policies

Fields

The following fields are returned by SELECT queries:

Retrieved navigation property

NameDatatypeDescription
idstringThe unique identifier for an entity. Read-only.
accessPackageAccess package containing this policy. Read-only. Supports $expand.
allowedTargetScopePrincipals that can be assigned the access package through this policy. The possible values are: notSpecified, specificDirectoryUsers, specificConnectedOrganizationUsers, specificDirectoryServicePrincipals, allMemberUsers, allDirectoryUsers, allDirectoryServicePrincipals, allConfiguredConnectedOrganizationUsers, allExternalUsers, allDirectoryAgentIdentities, unknownFutureValue.
automaticRequestSettingsThis property is only present for an auto assignment policy; if absent, this is a request-based policy.
catalogCatalog of the access package containing this policy. Read-only.
createdDateTimestring (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. (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])$)
customExtensionStageSettingsarrayThe collection of stages when to execute one or more custom access package workflow extensions. Supports $expand.
descriptionstringThe description of the policy.
displayNamestringThe display name of the policy.
expirationThe expiration date for assignments created in this policy.
modifiedDateTimestring (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. (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])$)
notificationSettings
questionsarrayQuestions that are posed to the requestor.
requestApprovalSettingsSpecifies the settings for approval of requests for an access package assignment through this policy. For example, if approval is required for new requests.
requestorSettingsProvides additional settings to select who can create a request for an access package assignment through this policy, and what they can include in their request.
reviewSettingsSettings for access reviews of assignments through this policy.
specificAllowedTargetsarrayThe principals that can be assigned access from an access package through this policy.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectaccess_package_assignment_policy_idIn Microsoft Entra entitlement management, retrieve the properties and relationships of an
accessPackageAssignmentPolicy object.
listselectRetrieve a list of accessPackageAssignmentPolicy objects in Microsoft Entra entitlement management. If the delegated user is in a directory role, the resulting list includes all the assignment policies that the caller has access to read, across all catalogs and access packages. If the delegated user is an access package manager or catalog owner, they should instead retrieve the policies for the access packages they can read with list accessPackages by including $expand=assignmentPolicies as a query parameter.
insertinsertCreate a new accessPackageAssignmentPolicy object in Microsoft Entra entitlement management. The request includes a reference to the accessPackage that contains this policy, which must already exist.
replacereplaceaccess_package_assignment_policy_idUpdate an existing accessPackageAssignmentPolicy object to change one or more of its properties, such as the display name or description.
deletedeleteaccess_package_assignment_policy_idIf-MatchIn Microsoft Entra entitlement management, delete an accessPackageAssignmentPolicy.

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.

NameDatatypeDescription
access_package_assignment_policy_idstringThe unique identifier of accessPackageAssignmentPolicy
If-MatchstringETag

SELECT examples

In Microsoft Entra entitlement management, retrieve the properties and relationships of an
accessPackageAssignmentPolicy object.

SELECT
id,
accessPackage,
allowedTargetScope,
automaticRequestSettings,
catalog,
createdDateTime,
customExtensionStageSettings,
description,
displayName,
expiration,
modifiedDateTime,
notificationSettings,
questions,
requestApprovalSettings,
requestorSettings,
reviewSettings,
specificAllowedTargets
FROM entra_id.identity_governance.entitlement_management_assignment_policies
WHERE access_package_assignment_policy_id = '{{ access_package_assignment_policy_id }}' -- required
;

INSERT examples

Create a new accessPackageAssignmentPolicy object in Microsoft Entra entitlement management. The request includes a reference to the accessPackage that contains this policy, which must already exist.

INSERT INTO entra_id.identity_governance.entitlement_management_assignment_policies (
id,
allowedTargetScope,
automaticRequestSettings,
createdDateTime,
description,
displayName,
expiration,
modifiedDateTime,
notificationSettings,
requestApprovalSettings,
requestorSettings,
reviewSettings,
specificAllowedTargets,
accessPackage,
catalog,
customExtensionStageSettings,
questions
)
SELECT
'{{ id }}',
'{{ allowedTargetScope }}',
'{{ automaticRequestSettings }}',
'{{ createdDateTime }}',
'{{ description }}',
'{{ displayName }}',
'{{ expiration }}',
'{{ modifiedDateTime }}',
'{{ notificationSettings }}',
'{{ requestApprovalSettings }}',
'{{ requestorSettings }}',
'{{ reviewSettings }}',
'{{ specificAllowedTargets }}',
'{{ accessPackage }}',
'{{ catalog }}',
'{{ customExtensionStageSettings }}',
'{{ questions }}'
RETURNING
id,
accessPackage,
allowedTargetScope,
automaticRequestSettings,
catalog,
createdDateTime,
customExtensionStageSettings,
description,
displayName,
expiration,
modifiedDateTime,
notificationSettings,
questions,
requestApprovalSettings,
requestorSettings,
reviewSettings,
specificAllowedTargets
;

REPLACE examples

Update an existing accessPackageAssignmentPolicy object to change one or more of its properties, such as the display name or description.

REPLACE entra_id.identity_governance.entitlement_management_assignment_policies
SET
id = '{{ id }}',
allowedTargetScope = '{{ allowedTargetScope }}',
automaticRequestSettings = '{{ automaticRequestSettings }}',
createdDateTime = '{{ createdDateTime }}',
description = '{{ description }}',
displayName = '{{ displayName }}',
expiration = '{{ expiration }}',
modifiedDateTime = '{{ modifiedDateTime }}',
notificationSettings = '{{ notificationSettings }}',
requestApprovalSettings = '{{ requestApprovalSettings }}',
requestorSettings = '{{ requestorSettings }}',
reviewSettings = '{{ reviewSettings }}',
specificAllowedTargets = '{{ specificAllowedTargets }}',
accessPackage = '{{ accessPackage }}',
catalog = '{{ catalog }}',
customExtensionStageSettings = '{{ customExtensionStageSettings }}',
questions = '{{ questions }}'
WHERE
access_package_assignment_policy_id = '{{ access_package_assignment_policy_id }}' --required
RETURNING
id,
accessPackage,
allowedTargetScope,
automaticRequestSettings,
catalog,
createdDateTime,
customExtensionStageSettings,
description,
displayName,
expiration,
modifiedDateTime,
notificationSettings,
questions,
requestApprovalSettings,
requestorSettings,
reviewSettings,
specificAllowedTargets;

DELETE examples

In Microsoft Entra entitlement management, delete an accessPackageAssignmentPolicy.

DELETE FROM entra_id.identity_governance.entitlement_management_assignment_policies
WHERE access_package_assignment_policy_id = '{{ access_package_assignment_policy_id }}' --required
AND If-Match = '{{ If-Match }}'
;