| 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 |
Namespace: microsoft.graph
[!INCLUDE beta-disclaimer]
Create a request to export the personal data for an inboundSharedUserProfile.
[!INCLUDE national-cloud-support]
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]
POST /directory/inboundSharedUserProfiles/{userId}/exportPersonalData| Name | Description |
|---|---|
| Authorization | Bearer {token}. Required. Learn more about authentication and authorization. |
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. |
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.
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]
HTTP/1.1 202 Accepted
{
"Location": "https://graph.microsoft.com/v1.0/dataPolicyOperations/d007e3da-cd9b-4b02-8d66-422403c53e3f",
"Retry-After": 60
}