Edit

Create Microsoft 365 capability for partner

Namespace: microsoft.graph

Create a new Microsoft 365 cross-tenant capability for a partner organization in the cross-tenant access policy. The @odata.type property in the request body is required to specify which type of capability to create.

Permissions

Choose the permission or permissions marked as least privileged for this API. Use a higher privileged permission or permissions only if your app requires it. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference.

Permission type Least privileged permissions Higher privileged permissions
Delegated (work or school account) Policy.ReadWrite.CrossTenantCapability Not available.
Delegated (personal Microsoft account) Not supported. Not supported.
Application Policy.ReadWrite.CrossTenantCapability Not available.

Important

For delegated access using work or school accounts where the signed-in user is acting on another user, they must be assigned a supported Microsoft Entra role or a custom role that grants the permissions required for this operation. Managing Microsoft 365 cross-tenant capabilities affects the entire cross-tenant access policy, so no lower-privileged built-in role covers all capabilities. This operation supports the following built-in roles:

  • Global Administrator - required for all capabilities, because managing the cross-tenant access policy requires directory-wide privileges.
  • Exchange Administrator - supported only for the MailTips, Calendar Sharing, and Free/Busy capabilities.

HTTP request

POST /policies/crossTenantAccessPolicy/partners/{crossTenantAccessPolicyConfigurationPartner-id}/m365Capabilities

Request headers

Name Description
Authorization Bearer {token}. Required. Learn more about authentication and authorization.
Content-Type application/json. Required.

Request body

In the request body, supply a JSON representation of a derived type of m365CapabilityBase. The @odata.type property is required to specify the capability type.

You can specify the following properties when you create an m365CapabilityBase capability.

Property Type Description
@odata.type String The type of capability to create. Required. Example values: #microsoft.graph.crossTenantOpenProfileCard, #microsoft.graph.crossTenantMigration
inboundAccess m365CapabilityInboundAccess The inbound access settings for the capability. Required.

Response

If successful, this method returns a 201 Created response code and the created capability object in the response body.

Examples

Example 1: Create a cross-tenant mail tips capability

The following example shows how to create a cross-tenant mail tips capability.

Request

The following example shows a request.

POST https://graph.microsoft.com/v1.0/policies/crossTenantAccessPolicy/partners/af7b70b0-d161-4628-82b4-16190344c029/m365Capabilities
Content-Type: application/json

{
  "@odata.type": "#microsoft.graph.crossTenantMailTipsLimited",
  "inboundAccess": {
    "isAllowed": false,
    "resourceScopes": {
      "included": [
        {
          "resourceId": "ad4fc698-74dc-4f62-9e71-ba9b591e8e74",
          "resourceType": "group"
        }
      ],
      "excluded": []
    }
  }
}

Response

The following example shows the response.

Note: The response object shown here might be shortened for readability.

HTTP/1.1 201 Created
Content-Type: application/json

{
  "@odata.type": "#microsoft.graph.crossTenantMailTipsLimited",
  "name": "crossTenantMailTipsLimited",
  "lastModifiedDateTime": "2026-01-15T09:57:58.6364196Z",
  "inboundAccess": {
    "isAllowed": false,
    "resourceScopes": {
      "included": [
        {
          "resourceId": "ad4fc698-74dc-4f62-9e71-ba9b591e8e74",
          "resourceType": "group"
        }
      ],
      "excluded": []
    }
  }
}

Example 2: Create a cross-tenant places room booking capability

The following example shows how to create a cross-tenant places room booking capability.

Request

The following example shows a request.

POST https://graph.microsoft.com/v1.0/policies/crossTenantAccessPolicy/partners/af7b70b0-d161-4628-82b4-16190344c029/m365Capabilities
Content-Type: application/json

{
  "@odata.type": "#microsoft.graph.crossTenantPlacesRoomBooking",
  "inboundAccess": {
    "isAllowed": true,
    "resourceScopes": {
      "included": [
        {
          "resourceId": "ad4fc698-74dc-4f62-9e71-ba9b591e8e74",
          "resourceType": "group"
        }
      ],
      "excluded": []
    }
  }
}

Response

The following example shows the response.

Note: The response object shown here might be shortened for readability.

HTTP/1.1 201 Created
Content-Type: application/json

{
  "@odata.type": "#microsoft.graph.crossTenantPlacesRoomBooking",
  "name": "crossTenantPlacesRoomBooking",
  "lastModifiedDateTime": "2026-01-15T10:27:34.8241493Z",
  "inboundAccess": {
    "isAllowed": true,
    "resourceScopes": {
      "included": [
        {
          "resourceId": "ad4fc698-74dc-4f62-9e71-ba9b591e8e74",
          "resourceType": "group"
        }
      ],
      "excluded": []
    }
  }
}