Skip to main content

role_management_policies_effective_rules

Creates, updates, deletes, gets or lists a role_management_policies_effective_rules resource.

Overview

Namerole_management_policies_effective_rules
TypeResource
Identra_id.policies.role_management_policies_effective_rules

Fields

The following fields are returned by SELECT queries:

Retrieved navigation property

NameDatatypeDescription
idstringThe unique identifier for an entity. Read-only.
targetDefines details of scope that's targeted by role management policy rule. The details can include the principal type, the role assignment type, and actions affecting a role. Supports $filter (eq, ne).

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectunified_role_management_policy_id, unified_role_management_policy_rule_idThe list of effective rules like approval rules and expiration rules evaluated based on inherited referenced rules. For example, if there is a tenant-wide policy to enforce enabling an approval rule, the effective rule will be to enable approval even if the policy has a rule to disable approval. Supports $expand.
listselectunified_role_management_policy_idThe list of effective rules like approval rules and expiration rules evaluated based on inherited referenced rules. For example, if there is a tenant-wide policy to enforce enabling an approval rule, the effective rule will be to enable approval even if the policy has a rule to disable approval. Supports $expand.
insertinsertunified_role_management_policy_id
updateupdateunified_role_management_policy_id, unified_role_management_policy_rule_id
deletedeleteunified_role_management_policy_id, unified_role_management_policy_rule_idIf-Match

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
unified_role_management_policy_idstringThe unique identifier of unifiedRoleManagementPolicy
unified_role_management_policy_rule_idstringThe unique identifier of unifiedRoleManagementPolicyRule
If-MatchstringETag

SELECT examples

The list of effective rules like approval rules and expiration rules evaluated based on inherited referenced rules. For example, if there is a tenant-wide policy to enforce enabling an approval rule, the effective rule will be to enable approval even if the policy has a rule to disable approval. Supports $expand.

SELECT
id,
target
FROM entra_id.policies.role_management_policies_effective_rules
WHERE unified_role_management_policy_id = '{{ unified_role_management_policy_id }}' -- required
AND unified_role_management_policy_rule_id = '{{ unified_role_management_policy_rule_id }}' -- required
;

INSERT examples

No description available.

INSERT INTO entra_id.policies.role_management_policies_effective_rules (
id,
target,
unified_role_management_policy_id
)
SELECT
'{{ id }}',
'{{ target }}',
'{{ unified_role_management_policy_id }}'
RETURNING
id,
target
;

UPDATE examples

No description available.

UPDATE entra_id.policies.role_management_policies_effective_rules
SET
id = '{{ id }}',
target = '{{ target }}'
WHERE
unified_role_management_policy_id = '{{ unified_role_management_policy_id }}' --required
AND unified_role_management_policy_rule_id = '{{ unified_role_management_policy_rule_id }}' --required
RETURNING
id,
target;

DELETE examples

No description available.

DELETE FROM entra_id.policies.role_management_policies_effective_rules
WHERE unified_role_management_policy_id = '{{ unified_role_management_policy_id }}' --required
AND unified_role_management_policy_rule_id = '{{ unified_role_management_policy_rule_id }}' --required
AND If-Match = '{{ If-Match }}'
;