Edit

List configurationSnapshotJobs

Namespace: microsoft.graph

Get a list of the configurationSnapshotJob objects and their properties.

This API is available in the following national cloud deployments.

Global service US Government L4 US Government L5 (DOD) China operated by 21Vianet

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.

Permission type Least privileged permissions Higher privileged permissions
Delegated (work or school account) ConfigurationMonitoring.Read.All ConfigurationMonitoring.ReadWrite.All
Delegated (personal Microsoft account) Not supported. Not supported.
Application ConfigurationMonitoring.Read.All ConfigurationMonitoring.ReadWrite.All

HTTP request

GET /admin/configurationManagement/configurationSnapshotJobs

Optional query parameters

This method supports the $select, $filter, $orderBy, and $top OData query parameters to help customize the response. The default page size is 100 items and the maximum page size is 999 items. 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 collection of configurationSnapshotJob objects in the response body.

Examples

Request

The following example shows a request.

GET https://graph.microsoft.com/v1.0/admin/configurationManagement/configurationSnapshotJobs

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.com/v1.0/$metadata#admin/configurationManagement/configurationSnapshotJobs",
  "@microsoft.graph.tips": "This request only returns a subset of the resource's properties. Your app will need to use $select to return non-default properties. To find out what other properties are available for this resource see https://dori-uw-1.kuma-moon.com/graph/api/resources/configurationSnapshotJob",
  "value": [
    {
      "id": "1a14c735-e01b-4c6e-a0e9-02ecbe7ad832",
      "displayName": "Snapshot Creation 1",
      "description": "Snapshot Description",
      "tenantId": "2fcf1c68-b412-4c85-bfb2-cb20152a6843",
      "status": "notStarted",
      "resources": [
        "microsoft.exchange.sharedmailbox",
        "microsoft.exchange.transportrule"
      ],
      "createdDateTime": "2025-02-18T15:33:51.9823159Z",
      "completedDateTime": "0001-01-01T00:00:00Z",
      "resourceLocation": "",
      "createdBy": {
        "user": {
          "id": "98ceffcc-7c54-4227-8844-835af5a023ce",
          "displayName": "Test Contoso User"
        }
      }
    },
    {
      "id": "c91a1470-acc9-4585-bc03-522ae898f82f",
      "displayName": "Snapshot Creation Demo 1",
      "description": "Snapshot Description",
      "tenantId": "2fcf1c68-b412-4c85-bfb2-cb20152a6843",
      "status": "notStarted",
      "resources": [
        "microsoft.exchange.sharedmailbox",
        "microsoft.exchange.transportrule"
      ],
      "createdDateTime": "2025-02-18T15:43:59.7935268Z",
      "completedDateTime": "0001-01-01T00:00:00Z",
      "resourceLocation": "",
      "createdBy": {
        "user": {
          "id": "98ceffcc-7c54-4227-8844-835af5a023ce",
          "displayName": "Test Contoso User"
        }
      }
    }
  ]
}