Skip to content

Latest commit

 

History

History
145 lines (114 loc) · 5.22 KB

File metadata and controls

145 lines (114 loc) · 5.22 KB
title Restore crossTenantAccessPolicyConfigurationPartner
description Restore a deleted crossTenantAccessPolicyConfigurationPartner object.
author ashyasingh
ms.date 06/18/2025
ms.localizationpriority medium
ms.subservice entra-sign-in
doc_type apiPageType

Restore crossTenantAccessPolicyConfigurationPartner

Namespace: microsoft.graph

[!INCLUDE beta-disclaimer]

Restore a deleted crossTenantAccessPolicyConfigurationPartner 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/crossTenantPartners/{crossTenantAccessPolicyConfigurationPartnerId}/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 crossTenantAccessPolicyConfigurationPartner in the response body.

Examples

Request

The following example shows a request.

POST https://graph.microsoft.com/beta/policies/deletedItems/crossTenantPartners/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.crossTenantAccessPolicyConfigurationPartner",
  "tenantId": "01d0e717-bc90-46ba-94a9-71b4a811fddb",
  "deletedDateTime": "2025-06-18T22:58:04Z",
  "displayName": null,
  "isServiceProvider": null,
  "isInMultiTenantOrganization": false,
  "blockServiceProviderOutboundAccess": null,
  "inboundTrust": null,
  "b2bCollaborationOutbound": null,
  "b2bCollaborationInbound": null,
  "b2bDirectConnectOutbound": null,
  "b2bDirectConnectInbound": null,
  "tenantRestrictions": null,
  "invitationRedemptionIdentityProviderConfiguration": null,
  "crossCloudMeetingConfiguration": {
    "inboundAllowed": null,
    "outboundAllowed": null
  },
  "automaticUserConsentSettings": {
    "inboundAllowed": null,
    "outboundAllowed": null
  },
  "protectedContentSharing": {
    "inboundAllowed": null,
    "outboundAllowed": null
  }
}