Edit

Share via


sharePointMigrationJob resource type

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.

Represents a SharePoint migration timer job that is queued for later processing. A migration import job moves content to SharePoint. An asynchronous metadata read (AMR) job, on the contrary, exports content from SharePoint.

The job might take anywhere from a few minutes to several hours to complete and is automatically removed from the queue upon completion; however, progress events remain accessible for up to four days.

Inherits from entity.

Methods

Method Return type Description
Create sharePointMigrationJob Create a new sharePointMigrationJob object that is scheduled to run at a later time to migrate content from an intermediary storage to the target fileStorageContainer.
Delete None Delete a sharePointMigrationJob object from a fileStorageContainer.
List progress events sharePointMigrationEvent collection Get a list of migration events for a particular job in a fileStorageContainer.
Provision migration containers sharePointMigrationContainerInfo Provision SharePoint-managed Azure blob containers as temporary storage for migration content and metadata.

Properties

Property Type Description
containerInfo sharePointMigrationContainerInfo The Azure blob containers associated with the migration job. It contains two container URLs and the key for content encryption. Read-only.
id String The unique identifier of the migration job. Read-only. Inherits from entity.

Relationships

Relationship Type Description
progressEvents sharePointMigrationEvent collection A collection of migration events that reflects the job status changes.

JSON representation

The following JSON representation shows the resource type.

{
  "@odata.type": "#microsoft.graph.sharePointMigrationJob",
  "id": "String (identifier)",
  "containerInfo": {
    "@odata.type": "microsoft.graph.sharePointMigrationContainerInfo"
  }
}

For information about the status or progress of a SharePoint migration job, see sharePointMigrationEvent.