Skip to main content

cross_tenant_access_policy

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

Overview

Namecross_tenant_access_policy
TypeResource
Identra_id.policies.cross_tenant_access_policy

Fields

The following fields are returned by SELECT queries:

Retrieved navigation property

NameDatatypeDescription
idstringThe unique identifier for an entity. Read-only.
allowedCloudEndpointsarrayUsed to specify which Microsoft clouds an organization would like to collaborate with. By default, this value is empty. Supported values for this field are: microsoftonline.com, microsoftonline.us, and partner.microsoftonline.cn.
defaultDefines the default configuration for how your organization interacts with external Microsoft Entra organizations.
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.
partnersarrayDefines partner-specific configurations for external Microsoft Entra organizations.
templatesRepresents the base policy in the directory for multitenant organization settings.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectRead the properties and relationships of a crossTenantAccessPolicy object.
updateupdateUpdate the properties of a cross-tenant access policy.
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 and relationships of a crossTenantAccessPolicy object.

SELECT
id,
allowedCloudEndpoints,
default,
deletedDateTime,
description,
displayName,
partners,
templates
FROM entra_id.policies.cross_tenant_access_policy
;

UPDATE examples

Update the properties of a cross-tenant access policy.

UPDATE entra_id.policies.cross_tenant_access_policy
SET
id = '{{ id }}',
deletedDateTime = '{{ deletedDateTime }}',
description = '{{ description }}',
displayName = '{{ displayName }}',
allowedCloudEndpoints = '{{ allowedCloudEndpoints }}',
default = '{{ default }}',
partners = '{{ partners }}',
templates = '{{ templates }}'
RETURNING
id,
allowedCloudEndpoints,
default,
deletedDateTime,
description,
displayName,
partners,
templates;

DELETE examples

No description available.

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