Get dataPolicyOperation

Namespace: microsoft.graph

Retrieve the properties of a dataPolicyOperation object.

Permissions

One of the following permissions is required to call this API. To learn more, including how to choose permissions, see Permissions.

Permission type Permissions (from least to most privileged)
Delegated (work or school account) User.Export.All, User.Read.All
Delegated (personal Microsoft account) Not applicable
Application User.Export.All, User.Read.All

HTTP request

GET /dataPolicyOperations/{id}

Request headers

Name Description
Authorization Bearer {token}

Request body

Do not supply a request body for this method.

Response

If successful, this method returns a 200 OK response code and a dataPolicyOperation object in the response body.

Example

Request
GET https://graph.microsoft.com/v1.0/dataPolicyOperations/{id}
Response

Note: The response object shown here might be shortened for readability.

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

{
  "completedDateTime": "datetime-value",
  "id": "id-value",
  "status": "status-value",
  "storageLocation": "storageLocation-value",
  "userId": "userId-value",
  "submittedDateTime": "datetime-value", 
  "progress": "double-value"
}