managed_app_policies
Creates, updates, deletes, gets or lists a managed_app_policies resource.
Overview
| Name | managed_app_policies |
| Type | Resource |
| Id | entra_id.users.managed_app_policies |
Fields
The following fields are returned by SELECT queries:
- get
| Name | Datatype | Description |
|---|---|---|
id | string | The unique identifier for an entity. Read-only. |
createdDateTime | string (date-time) | The date and time the policy was created. (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])$) |
description | string | The policy's description. |
displayName | string | Policy display name. |
lastModifiedDateTime | string (date-time) | Last time the policy was modified. (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])$) |
version | string | Version of the entity. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | user_id | Gets app restrictions for a given user. |
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 |
|---|---|---|
user_id | string | The unique identifier of user |
SELECT examples
- get
Gets app restrictions for a given user.
SELECT
id,
createdDateTime,
description,
displayName,
lastModifiedDateTime,
version
FROM entra_id.users.managed_app_policies
WHERE user_id = '{{ user_id }}' -- required
;