Forum Discussion
TobiasAT
Oct 24, 2016Steel Contributor
OneDrive Migration API
Hello, maybe someone has expierence with the Migration API for the file uploads to OneDrive for Business? I found the description at https://support.office.com/en-us/article/Upload-SharePoint-data-to...
Daniel Wink
Jan 13, 2017Copper Contributor
I just ran into the same issue. Here's what I kind of figured out. you need to use two other cmdlets.... Get-SPOMigrationJobProgress & Get-SPOMigrationJobStatus
$job = Invoke-SPOMigrationEncryptUploadSubmit -SourceFilesPath $sourceFiles -SourcePackagePath $targetPackage -Credentials $creds -TargetWebUrl $targetWebUrl $encryption = $job.Encryption $queueLink = $job.ReportingQueueUri.AbsoluteUri $jobID = $job.jobid Get-SPOMigrationJobProgress -AzureQueueUri $queueLink -Credentials $creds -TargetWebUrl $targetWebUrl -JobIds $jobID -EncryptionParameters $encryption Get-SPOMigrationJobStatus -TargetWebUrl $targetWebUrl -Credentials $creds -JobId $jobID