crossTenantAccessPolicyConfigurationDefault: resetToSystemDefault

Namespace: microsoft.graph

Important

APIs under the /beta version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported. To determine whether an API is available in v1.0, use the Version selector.

Reset any changes made to the default configuration in a cross-tenant access policy back to the system default.

Permissions

One of the following permissions is required to call this API. To learn more, including how to choose permissions, see Permissions.

Permission type Permissions (from least to most privileged)
Delegated (work or school account) Policy.ReadWrite.CrossTenantAccess
Delegated (personal Microsoft account) Not applicable
Application Policy.ReadWrite.CrossTenantAccess

HTTP request

POST /policies/crossTenantAccessPolicy/default/resetToSystemDefault

Request headers

Name Description
Authorization Bearer {token}. Required.

Request body

Do not supply a request body for this method.

Response

If successful, this action returns a 204 No Content response code. To confirm that the default configuration has been restored to the system defaults, run Get crossTenantAccessPolicyConfigurationDefault and confirm that isSystemDefault is set to true.

Examples

Request

POST https://graph.microsoft.com/beta/policies/crossTenantAccessPolicy/default/resetToSystemDefault

Response

HTTP/1.1 204 No Content