Skip to content

Latest commit

 

History

History
128 lines (95 loc) · 4.51 KB

File metadata and controls

128 lines (95 loc) · 4.51 KB
title Restore crossTenantIdentitySyncPolicyPartner
description Restore a deleted crossTenantIdentitySyncPolicyPartner object.
author ashyasingh
ms.date 06/18/2025
ms.localizationpriority medium
ms.subservice entra-sign-in
doc_type apiPageType

Restore crossTenantIdentitySyncPolicyPartner

Namespace: microsoft.graph

[!INCLUDE beta-disclaimer]

Restore a deleted crossTenantIdentitySyncPolicyPartner object.

[!INCLUDE national-cloud-support]

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.

[!INCLUDE permissions-table]

[!INCLUDE rbac-xtap-apis-write]

HTTP request

POST /policies/deletedItems/crossTenantSyncPolicyPartners/{crossTenantIdentitySyncPolicyPartnerId}/restore

Request headers

Name Description
Authorization Bearer {token}. Required. Learn more about authentication and authorization.

Request body

Don't supply a request body for this method.

Response

If successful, this action returns a 200 OK response code and a crossTenantIdentitySyncPolicyPartner in the response body.

Examples

Request

The following example shows a request.

POST https://graph.microsoft.com/beta/policies/deletedItems/crossTenantSyncPolicyPartners/01d0e717-bc90-46ba-94a9-71b4a811fddb/restore

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]


Response

The following example shows the response.

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

HTTP/1.1 200 OK
Content-Type: application/json

{
  "@odata.context": "https://graph.microsoft-ppe.com/testppebetadeleteapis/$metadata#microsoft.graph.crossTenantIdentitySyncPolicyPartner",
  "tenantId": "01d0e717-bc90-46ba-94a9-71b4a811fddb",
  "displayName": null,
  "deletedDateTime": "2025-06-18T23:14:25Z",
  "externalCloudAuthorizedApplicationId": null,
  "groupSyncInbound": null,
  "userSyncInbound": null
}