Edit

Share via


List progressEvents

Namespace: microsoft.graph

Important

APIs under the /beta version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported. To determine whether an API is available in v1.0, use the Version selector.

Get a list of migration events for a particular job in a fileStorageContainer. The migration events remain valid for four days and can be queried as frequently as needed within the validity period.

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) FileStorageContainer.Selected Not available.
Delegated (personal Microsoft account) Not supported. Not supported.
Application FileStorageContainer.Selected Not available.

HTTP request

GET /storage/fileStorage/containers/{fileStorageContainerId}/migrationJobs/{migrationJobId}/progressEvents

Optional query parameters

This method supports the $skipToken OData query parameter to help paginate results. 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 sharePointMigrationEvent objects in the response body.

Examples

Request

The following example shows how to retrieve a list of sharePointMigrationEvent instances that are related to the sharePointMigrationJob identified by the ID 7b04bfdd-5f8c-4bd9-97faa166a7922c61 that runs on the fileStorageContainer identified by the container ID b!ISJs1WRro0y0EWgkUYcktDa0mE8zSlFEqFzqRn70Zwp1CEtDEBZgQICPkRbil_5Z.

GET https://graph.microsoft.com/beta/storage/fileStorage/containers/b!ISJs1WRro0y0EWgkUYcktDa0mE8zSlFEqFzqRn70Zwp1CEtDEBZgQICPkRbil_5Z/migrationJobs/7b04bfdd-5f8c-4bd9-97faa166a7922c61/progressEvents

Response

The following example shows the response.

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

{
  "value": [
    {
      "@odata.type": "#microsoft.graph.sharePointMigrationJobStartEvent",
      "id": "ef788cc0-ff2c-02a7-5150-7aeb53a89445",
      "jobId": "7b04bfdd-5f8c-4bd9-97fa-a166a7922c61",
      "eventDateTime": "2025-05-08T09:08:04.451Z",
      "correlationId": "3f24ae21-8e47-4147-aa3d-31ce6b675337",
      "isRestarted": false,
      "totalRetryCount": 0
    },
    {
      "@odata.type": "#microsoft.graph.sharePointMigrationJobCancelledEvent",
      "id": "8ae8a944-1d91-4e16-3447-0e31ba915e1f",
      "jobId": "7b04bfdd-5f8c-4bd9-97fa-a166a7922c61",
      "eventDateTime": "2025-05-08T09:13:18.333Z",
      "correlationId": "3f24ae21-8e47-4147-aa3d-31ce6b675337",
      "totalRetryCount": 0,
      "isCancelledByUser": true
    },
    {
      "@odata.type": "#microsoft.graph.sharePointMigrationJobProgressEvent",
      "id": "e439f60c-1022-4eaa-dbbf-75c51361effe",
      "jobId": "7b04bfdd-5f8c-4bd9-97fa-a166a7922c61",
      "eventDateTime": "2025-05-08T09:13:45.565Z",
      "correlationId": "3f24ae21-8e47-4147-aa3d-31ce6b675337",
      "isCompleted": false,
      "filesProcessed": 12,
      "bytesProcessed": 12,
      "objectsProcessed": 23,
      "totalExpectedObjects": 15,
      "totalErrors": 1,
      "totalWarnings": 0,
      "totalRetryCount": 0,
      "waitTimeOnSqlThrottlingMs": 0,
      "totalDurationMs": 0,
      "cpuDurationMs": 0,
      "sqlDurationMs": 0,
      "sqlQueryCount": 0,
      "totalExpectedBytes": 0,
      "filesProcessedOnlyCurrentVersion": 11,
      "bytesProcessedOnlyCurrentVersion": 11
    },
    {
      "@odata.type": "#microsoft.graph.sharePointMigrationJobErrorEvent",
      "id": "8e37738c-76b2-bb16-346a-5b21cff6d1d0",
      "jobId": "7b04bfdd-5f8c-4bd9-97fa-a166a7922c61",
      "eventDateTime": "2025-05-08T09:13:46.028Z",
      "correlationId": "3f24ae21-8e47-4147-aa3d-31ce6b675337",
      "errorLevel": "FatalError",
      "totalRetryCount": 0,
      "objectType": "UnknownFutureValue",
      "error": 
      {
        "code": "-2147213196",
        "errorType": "microsoft.SharePoint.SPException",
        "message": "Operation canceled."
      }
    },
    {
      "@odata.type": "#microsoft.graph.sharePointMigrationJobProgressEvent",
      "id": "16ea963f-b78d-5016-e8b7-3c663ca30fd5",
      "jobId": "7b04bfdd-5f8c-4bd9-97fa-a166a7922c61",
      "eventDateTime": "2025-05-08T09:13:46.509Z",
      "correlationId": "3f24ae21-8e47-4147-aa3d-31ce6b675337",
      "isCompleted": true,
      "filesProcessed": 12,
      "bytesProcessed": 12,
      "objectsProcessed": 24,
      "totalExpectedObjects": 15,
      "totalErrors": 2,
      "totalWarnings": 0,
      "totalRetryCount": 0,
      "waitTimeOnSqlThrottlingMs": 0,
      "totalDurationMs": 0,
      "cpuDurationMs": 0,
      "sqlDurationMs": 0,
      "sqlQueryCount": 0,
      "totalExpectedBytes": 0,
      "filesProcessedOnlyCurrentVersion": 12,
      "bytesProcessedOnlyCurrentVersion": 12
    }
  ],
  "@odata.nextLink": "https://graph.microsoft.com/beta/storage/fileStorage/containers/{fileStorageContainerId}/migrationJobs/{migrationJobId}/progressEvents?$skiptoken=ODY4MA"
}