Skip to main content

default_app_management_policy

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

Overview

Namedefault_app_management_policy
TypeResource
Identra_id.policies.default_app_management_policy

Fields

The following fields are returned by SELECT queries:

Retrieved navigation property

NameDatatypeDescription
idstringThe unique identifier for an entity. Read-only.
applicationRestrictionsRestrictions that apply as default to all application objects in the tenant.
deletedDateTimestring (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])$)
descriptionstringDescription for this policy. Required.
displayNamestringDisplay name for this policy. Required.
isEnabledbooleanDenotes whether the policy is enabled. Default value is false.
servicePrincipalRestrictionsRestrictions that apply as default to all service principal objects in the tenant.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectRead the properties of a tenantAppManagementPolicy object.
updateupdateUpdate the properties of a tenantAppManagementPolicy object.
deletedeleteIf-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
If-MatchstringETag

SELECT examples

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 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

No description available.

DELETE FROM entra_id.policies.default_app_management_policy
WHERE If-Match = '{{ If-Match }}'
;