| title | List progressEvents |
|---|---|
| description | Get a list of migration events for a particular job in a fileStorageContainer. |
| author | wenzhou |
| ms.date | 11/07/2025 |
| ms.localizationpriority | medium |
| ms.subservice | onedrive |
| doc_type | apiPageType |
Namespace: microsoft.graph
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.
[!INCLUDE national-cloud-support]
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 /storage/fileStorage/containers/{fileStorageContainerId}/migrationJobs/{migrationJobId}/progressEventsThis method supports the $skipToken OData query parameter to help paginate results. For general information, see OData query parameters.
| Name | Description |
|---|---|
| Authorization | Bearer {token}. Required. Learn more about authentication and authorization. |
Don't supply a request body for this method.
If successful, this method returns a 200 OK response code and a collection of sharePointMigrationEvent objects in the response body.
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/v1.0/storage/fileStorage/containers/b!ISJs1WRro0y0EWgkUYcktDa0mE8zSlFEqFzqRn70Zwp1CEtDEBZgQICPkRbil_5Z/migrationJobs/7b04bfdd-5f8c-4bd9-97faa166a7922c61/progressEvents[!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.
Note: The response object shown here might be shortened for readability.
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/v1.0/storage/fileStorage/containers/b!ISJs1WRro0y0EWgkUYcktDa0mE8zSlFEqFzqRn70Zwp1CEtDEBZgQICPkRbil_5Z/migrationJobs/7b04bfdd-5f8c-4bd9-97fa-a166a7922c61/progressEvents?$skiptoken=ODY4MA"
}