app_management_policies_applies_to
Creates, updates, deletes, gets or lists an app_management_policies_applies_to resource.
Overview
| Name | app_management_policies_applies_to |
| Type | Resource |
| Id | entra_id.policies.app_management_policies_applies_to |
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. |
deletedDateTime | string (date-time) | Date and time when this object was deleted. Always null when the object hasn't been deleted. (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])$) |
Retrieved collection
| Name | Datatype | Description |
|---|---|---|
id | string | The unique identifier for an entity. Read-only. |
deletedDateTime | string (date-time) | Date and time when this object was deleted. Always null when the object hasn't been deleted. (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])$) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | app_management_policy_id, directory_object_id | Collection of applications and service principals to which the policy is applied. | |
list | select | app_management_policy_id | List application and service principal objects that are assigned an appManagementPolicy policy object. |
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 |
|---|---|---|
app_management_policy_id | string | The unique identifier of appManagementPolicy |
directory_object_id | string | The unique identifier of directoryObject |
SELECT examples
- get
- list
Collection of applications and service principals to which the policy is applied.
SELECT
id,
deletedDateTime
FROM entra_id.policies.app_management_policies_applies_to
WHERE app_management_policy_id = '{{ app_management_policy_id }}' -- required
AND directory_object_id = '{{ directory_object_id }}' -- required
;
List application and service principal objects that are assigned an appManagementPolicy policy object.
SELECT
id,
deletedDateTime
FROM entra_id.policies.app_management_policies_applies_to
WHERE app_management_policy_id = '{{ app_management_policy_id }}' -- required
;