Create identitySynchronization

Namespace: microsoft.graph

Create a cross-tenant user synchronization policy for a partner-specific configuration.


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 supported.
Application Policy.ReadWrite.CrossTenantAccess

The signed-in user must also be assigned the following minimum directory role:

  • Security Administrator

HTTP request

PUT /policies/crossTenantAccessPolicy/partners/{id}/identitySynchronization

Request headers

Name Description
Authorization Bearer {token}. Required.
Content-Type application/json. Required.

Request body

In the request body, supply a JSON representation of the crossTenantIdentitySyncPolicyPartner object.

You can specify the following properties when you create a crossTenantIdentitySyncPolicyPartner.

Property Type Description
displayName String Display name for the cross-tenant user synchronization policy. Use the name of the partner Azure Active Directory tenant to easily identify the policy. Optional.
userSyncInbound crossTenantUserSyncInbound Determines whether users are synchronized from the partner tenant.


If successful, this method returns a 204 No Content response code.



The following is an example of a request.

Content-Type: application/json

  "displayName": "Fabrikam",
  "userSyncInbound": {
    "isSyncAllowed": true


The following is an example of the response.

HTTP/1.1 204 No Content