| title | cloudPCSnapshot: retrieveSnapshotImportResult |
|---|---|
| description | Retrieve the result and status of the snapshot import action. |
| author | hyc3z |
| ms.localizationpriority | medium |
| ms.subservice | cloud-pc |
| doc_type | apiPageType |
| ms.date | 10/10/2025 |
Namespace: microsoft.graph
[!INCLUDE beta-disclaimer]
Retrieve the result and status of the snapshot import action.
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]
GET /deviceManagement/virtualEndpoint/snapshots/retrieveSnapshotImportResult(snapshotId='{snapshotId}')| Name | Description |
|---|---|
| Authorization | Bearer {token}. Required. Learn more about authentication and authorization. |
In the request URL, provide the following function parameters with values.
| Parameter | Type | Description |
|---|---|---|
| snapshotId | String | The unique identifier for the snapshot. |
Don't supply a request body for this method.
If successful, this method returns a 200 OK response code and a cloudPcSnapshotImportActionResult object in the response body.
The following example shows a request.
GET https://graph.microsoft.com/beta/deviceManagement/virtualEndpoint/snapshots/retrieveSnapshotImportResult(snapshotId='7e8c3054-bda1-4e37-81c5-7d1b080a8849')[!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]
The following example shows the response.
HTTP/1.1 200 OK
Content-Type: application/json
{
"@odata.context": "https://graph.microsoft.com/beta/$metadata#microsoft.graph.cloudPcSnapshotImportActionResult",
"filename": "snapshotForCloudPc",
"usageStatus": "notUsed",
"importStatus": "inProgress",
"assignedUserPrincipalName": "snapshot@contoso.com",
"policyName": "Test_ProvisioningPolicy",
"startDateTime": "2025-01-13T15:13:14Z",
"endDateTime": null,
"additionalDetail": null
}