Skip to content

Latest commit

 

History

History
118 lines (86 loc) · 3.85 KB

File metadata and controls

118 lines (86 loc) · 3.85 KB
title Get snapshot
description Get the properties of a snapshot object.
author yuhko-msft
ms.date 03/04/2026
ms.localizationpriority medium
ms.subservice entra-id
doc_type apiPageType

Get snapshot

Namespace: microsoft.graph.entraRecoveryServices

[!INCLUDE beta-disclaimer]

Read the properties and relationships of a snapshot 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-entrarecoveryservices-apis-read]

HTTP request

GET /directory/recovery/snapshots/{snapshot-id}

Optional query parameters

This method supports the $select OData query parameter to help customize the response. For general information, see OData query parameters.

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 method returns a 200 OK response code and a microsoft.graph.entraRecoveryServices.snapshot object in the response body.

Examples

Request

The following example shows a request.

GET https://graph.microsoft.com/beta/directory/recovery/snapshots/MjAyNC0wOC0yNlQwMjozMDowMFo=

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

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

{
  "@odata.type": "#microsoft.graph.entraRecoveryServices.snapshot",
  "id": "MjAyNC0wOC0yNlQwMjozMDowMFo=",
  "createdDateTime": "2024-08-25T06:30:00Z",
  "totalChangedObjects": 1230000
}