default_app_management_policy
Creates, updates, deletes, gets or lists a default_app_management_policy resource.
Overview
| Name | default_app_management_policy |
| Type | Resource |
| Id | entra_id.policies.default_app_management_policy |
Fields
The following fields are returned by SELECT queries:
- get
Retrieved navigation property
| Name | Datatype | Description |
|---|---|---|
id | string | The unique identifier for an entity. Read-only. |
applicationRestrictions | | Restrictions that apply as default to all application objects in the tenant. |
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])$) |
description | string | Description for this policy. Required. |
displayName | string | Display name for this policy. Required. |
isEnabled | boolean | Denotes whether the policy is enabled. Default value is false. |
servicePrincipalRestrictions | | Restrictions that apply as default to all service principal objects in the tenant. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | Read the properties of a tenantAppManagementPolicy object. | ||
update | update | Update the properties of a tenantAppManagementPolicy object. | ||
delete | delete | If-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.
| Name | Datatype | Description |
|---|---|---|
If-Match | string | ETag |
SELECT examples
- get
Read the properties of a tenantAppManagementPolicy object.
SELECT
id,
applicationRestrictions,
deletedDateTime,
description,
displayName,
isEnabled,
servicePrincipalRestrictions
FROM entra_id.policies.default_app_management_policy
;
UPDATE examples
- update
Update the properties of a tenantAppManagementPolicy object.
UPDATE entra_id.policies.default_app_management_policy
SET
id = '{{ id }}',
deletedDateTime = '{{ deletedDateTime }}',
description = '{{ description }}',
displayName = '{{ displayName }}',
applicationRestrictions = '{{ applicationRestrictions }}',
isEnabled = {{ isEnabled }},
servicePrincipalRestrictions = '{{ servicePrincipalRestrictions }}'
RETURNING
id,
applicationRestrictions,
deletedDateTime,
description,
displayName,
isEnabled,
servicePrincipalRestrictions;
DELETE examples
- delete
No description available.
DELETE FROM entra_id.policies.default_app_management_policy
WHERE If-Match = '{{ If-Match }}'
;