Commands › SharePoint Online

Get-SPOMigrationJobProgress

SharePoint Online Microsoft.Online.SharePoint.PowerShell Get-*

**Note**: This cmdlet has been deprecated. To migrate to SharePoint and Microsoft 365 using PowerShell, see Migrate to SharePoint using PowerShell. This cmdlet lets you report on SPO migration jobs that are in progress.

Quick start script

# Get-SPOMigrationJobProgress — quick start (serv365.ai)
# 1. Connect (app-only shown; interactive: omit the certificate parameters)
Connect-SPOService -Url https://$org-admin.sharepoint.com

# 2. Run and inspect
Get-SPOMigrationJobProgress -AzureQueueUri <String> -Credentials <CredentialCmdletPipeBind> -MigrationPackageAzureLocations <MigrationPackageAzureLocations> | Format-List

# 3. Export for evidence / drift tracking
Get-SPOMigrationJobProgress | Export-Clixml .\SPOMigrationJobProgress-$(Get-Date -Format yyyyMMdd).xml

Syntax — 2 parameter sets

AzureLocationsInline

Get-SPOMigrationJobProgress [-TargetWebUrl <String>] -AzureQueueUri <String>
 -Credentials <CredentialCmdletPipeBind> [-JobIds <Guid[]>] [-EncryptionParameters <EncryptionParameters>]
 [-DontWaitForEndJob] [-NoLogFile] [<CommonParameters>]

AzureLocationsImplicit

Get-SPOMigrationJobProgress [-TargetWebUrl <String>] -Credentials <CredentialCmdletPipeBind>
 -MigrationPackageAzureLocations <MigrationPackageAzureLocations> [-JobIds <Guid[]>]
 [-EncryptionParameters <EncryptionParameters>] [-DontWaitForEndJob] [-NoLogFile] [<CommonParameters>]

Parameters (8)

ParameterTypeRequiredWhat it controls
-AzureQueueUri String yes An optional fully qualified URL and SAS token representing the Azure Storage Reporting Queue where import operations will list events during import.
-Credentials CredentialCmdletPipeBind yes Optional credentials of a site collection administrator to use to connect to the site collection. The credentials should supply the username in UPN format (e.g. user@company.onmicrosoft.com). If this property is not...
-DontWaitForEndJob SwitchParameter Tells the cmdlet to not wait for the job to end. It will only process as many messages as are currently in the queue and then terminate. If this flag is set to $false, it will wait for the job to end before terminating.
-EncryptionParameters EncryptionParameters An EncryptionParameters object. See New-SPOMigrationEncryptionParameters https://learn.microsoft.com/powershell/module/microsoft.online.sharepoint.powershell/new-spomigrationencryptionparameters for more information.
-JobIds Guid[] Id of a previously created migration job that exists on the target site collection.
-MigrationPackageAzureLocations MigrationPackageAzureLocations yes A set of fully qualified URLs and SAS tokens representing the Azure Blob Storage containers that hold the package content and metadata files and an optional Azure Storage Reporting Queue. This object is returned...
-NoLogFile SwitchParameter Indicates to not create a log file. The default is to create a new CopyMigrationPackage log file within the directory specified within the SourcePackagePath parameter.
-TargetWebUrl String The fully qualified target web URL where the package will be imported into. This must include the same TargetWebURL that was used during `ConvertTo-SPOMigrationTargetedPackage`.

Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.