Skip to content

Latest commit

 

History

History
127 lines (90 loc) · 4.45 KB

File metadata and controls

127 lines (90 loc) · 4.45 KB
title inboundSharedUserProfile: exportPersonalData
description Create a request to export the personal data for an inboundSharedUserProfile.
author yyuank
ms.reviewer mapamu, iamut
ms.localizationpriority medium
ms.subservice entra-sign-in
doc_type apiPageType
ms.date 05/16/2024

inboundSharedUserProfiles: exportPersonalData

Namespace: microsoft.graph

[!INCLUDE beta-disclaimer]

Create a request to export the personal data for an inboundSharedUserProfile.

[!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-cross-tenant-access-shared-user-profiles-apis-read]

HTTP request

POST /directory/inboundSharedUserProfiles/{userId}/exportPersonalData

Request headers

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

Request body

In the request body, supply JSON representation of the parameters.

The following table shows the parameters that can be used with this action.

Parameter Type Description
storageLocation String The storage location to download the exported data to. This can be an Azure Storage Account.

Response

If successful, this method returns a 202 Accepted response code and a Location header in the response body pointing to the storage location of the exported data.

Examples

Request

POST https://graph.microsoft.com/beta/directory/inboundSharedUserProfiles/c228b2ae-c4fb-4eda-9620-7e73dddd1cac/exportPersonalData

{
    "storageLocation": "MyStorageAccount"
}

[!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

HTTP/1.1 202 Accepted

{
    "Location": "https://graph.microsoft.com/v1.0/dataPolicyOperations/d007e3da-cd9b-4b02-8d66-422403c53e3f",
    "Retry-After": 60
}