I was recently working on a Migration and found myself in a place where I was not able to migrate 2 users

 

The Batch had 300 users

PS C:\Users\Praveen> (Get-MoveRequest -BatchName MigrationBatch01).count

300

 

When I tried to Resume the move request for the batch 2 users failed saying it could not find the move request

PS C:\Users\Praveen> Get-MoveRequest -BatchName MigrationBatch01 | Resume-MoveRequest

Couldn’t find a move request that corresponds to the specified identity ‘Contoso Corp’.

+ CategoryInfo : NotSpecified: (:) [Resume-MoveRequest], ManagementObjectNotFoundException

n] ,Microsoft.Exchange.Management.Migration.MailboxReplication.MoveRequest.ResumeMoveRequest

+ PSComputerName : outlook.office365.com

Couldn’t find a move request that corresponds to the specified identity ‘Praveen Kumar’.

+ CategoryInfo : NotSpecified: (:) [Resume-MoveRequest], ManagementObjectNotFoundException

n] ,Microsoft.Exchange.Management.Migration.MailboxReplication.MoveRequest.ResumeMoveRequest

+ PSComputerName : outlook.office365.com

 

When I do get-moverequest I get the required output

PS C:\Users\Praveen> Get-MoveRequest Contosoa@domain.com

DisplayName Status TargetDatabase

———– —— ————–

Contoso Corp AutoSuspended Database2

PS C:\Users\Praveen> Get-MoveRequest Contosoa16@domain.com

DisplayName Status TargetDatabase

———– —— ————–

Contoso Corp Completed Database3

 

So tried Get-moverequest UPN | resume-moverequest it failed with the same error message

PS C:\Users\Praveen> Get-MoveRequest Contosoa@domain.com | Resume-MoveRequest

Couldn’t find a move request that corresponds to the specified identity ‘Contoso Corp’.

+ CategoryInfo : NotSpecified: (:) [Resume-MoveRequest], ManagementObjectNotFoundException

n] ,Microsoft.Exchange.Management.Migration.MailboxReplication.MoveRequest.ResumeMoveRequest

+ PSComputerName : outlook.office365.com

 

 

When I tried to perform the action for another user it failed with the same error message

PS C:\Users\Praveen> get-moverequest prakum16@domain.com

DisplayName Status TargetDatabase

———– —— ————–

Praveen Kumar AutoSuspended Database1

PS C:\Users\Praveen> get-moverequest prakum16@domain.com | Resume-MoveRequest -Confirm

Couldn’t find a move request that corresponds to the specified identity ‘Praveen Kumar’.

+ CategoryInfo : NotSpecified: (:) [Resume-MoveRequest], ManagementObjectNotFoundException

n] ,Microsoft.Exchange.Management.Migration.MailboxReplication.MoveRequest.ResumeMoveRequest

+ PSComputerName : outlook.office365.com

 

PS C:\Users\Praveen> Get-MoveRequest -BatchName MigrationBatch01 | where{$_.Status -like “AutoSuspended*”}

DisplayName Status TargetDatabase

———– —— ————–

Contoso Corp AutoSuspended Database2

Praveen Kumar AutoSuspended Database1

 

Checked the recipient and found there were 2 Recipent with same display name and slightly different alias

PS C:\Users\Praveen> Get-Recipient -Anr Contosoa

Name RecipientType

—- ————-

Contoso Corp MailUser

Contoso Corp_fef527ea5c UserMailbox

PS C:\Users\Praveen> Get-Recipient -Anr Contosoa | fl *alias*

Alias : Contosoa

Alias : Contosoa16

 

 

Checked and found similar info for the other user as well.

The Displayame is same, and when we do a get-moverequest | fl there is no alias or UPN to differentiate the request

DisplayName Status TargetDatabase

———– —— ————–

Praveen Kumar AutoSuspended Database1

Praveen Kumar AutoSuspended Database4

Contoso Corp AutoSuspended Database3

Contoso Corp AutoSuspended Database2

 

Understood that there is an issue with the displayname being same, but the error was misleading

PS C:\Users\Praveen> Get-MoveRequest -BatchName MigrationBatch01 | where{$_.Status -like “Auto*”}

DisplayName Status TargetDatabase

———– —— ————–

Contoso Corp AutoSuspended Database2

Praveen Kumar AutoSuspended Database1

 

Tried to list the autosuspended moverequest and complete them still it failed

PS C:\Users\Praveen> Get-MoveRequest -BatchName MigrationBatch01 | where{$_.Status -like “Auto*”}

DisplayName Status TargetDatabase

———– —— ————–

Contoso Corp AutoSuspended Database2

Praveen Kumar AutoSuspended Database1

PS C:\Users\Praveen> Get-MoveRequest -BatchName MigrationBatch01 | where{$_.Status -like “Auto*”} | Resume-MoveRequest

Couldn’t find a move request that corresponds to the specified identity ‘Contoso Corp’.

+ CategoryInfo : NotSpecified: (:) [Resume-MoveRequest], ManagementObjectNotFoundException

n] ,Microsoft.Exchange.Management.Migration.MailboxReplication.MoveRequest.ResumeMoveRequest

+ PSComputerName : outlook.office365.com

Couldn’t find a move request that corresponds to the specified identity ‘Praveen Kumar’.

+ CategoryInfo : NotSpecified: (:) [Resume-MoveRequest], ManagementObjectNotFoundException

n] ,Microsoft.Exchange.Management.Migration.MailboxReplication.MoveRequest.ResumeMoveRequest

+ PSComputerName : outlook.office365.com

 

Tried the Force switch still the same

PS C:\Users\Praveen> Get-MoveRequest -BatchName MigrationBatch01 | where{$_.Status -like “Auto*”} | Remove-MoveRequest -Force

Couldn’t find a move request that corresponds to the specified identity ‘Contoso Corp’.

+ CategoryInfo : NotSpecified: (:) [Remove-MoveRequest], ManagementObjectNotFoundException

+ n] ,Microsoft.Exchange.Management.Migration.MailboxReplication.MoveRequest.RemoveMoveRequest

+ PSComputerName : outlook.office365.com

Couldn’t find a move request that corresponds to the specified identity ‘Praveen Kumar’.

+ CategoryInfo : NotSpecified: (:) [Remove-MoveRequest], ManagementObjectNotFoundException

n] ,Microsoft.Exchange.Management.Migration.MailboxReplication.MoveRequest.RemoveMoveRequest

+ PSComputerName : outlook.office365.com

 

Checked and found that alias is one of the accepted identity for move request.

PS C:\Users\Praveen> Get-MoveRequest prakum16

DisplayName Status TargetDatabase

———– —— ————–

Praveen Kumar AutoSuspended Database1

 

Tried Get-Moverequest alias | remove-moverequest

It failed with the same error

PS C:\Users\Praveen> Get-MoveRequest prakum16 | Resume-MoveRequest

Couldn’t find a move request that corresponds to the specified identity ‘Praveen Kumar’.

+ CategoryInfo : NotSpecified: (:) [Resume-MoveRequest], ManagementObjectNotFoundException

n] ,Microsoft.Exchange.Management.Migration.MailboxReplication.MoveRequest.ResumeMoveRequest

+ PSComputerName : outlook.office365.com

 

Just out of shear irritation just tried resume-moverequest directly using alias only and guess what it worked for both failed accounts

PS C:\Users\Praveen> Resume-MoveRequest prakum16

PS C:\Users\Praveen> Get-MoveRequest Contosoa

DisplayName Status TargetDatabase

———– —— ————–

Contoso Corp AutoSuspended Database2

PS C:\Users\Praveen> Resume-MoveRequest Contosoa

PS C:\Users\Praveen> Get-MoveRequest Contosoa

DisplayName Status TargetDatabase

———– —— ————–

Contoso Corp InProgress Database2

PS C:\Users\Praveen> Get-MoveRequest prakum16

DisplayName Status TargetDatabase

———– —— ————–

Praveen Kumar InProgress Database1

PS C:\Users\Praveen> Get-MoveRequest prakum16

DisplayName Status TargetDatabase

———– —— ————–

Praveen Kumar Completed Database1

PS C:\Users\Praveen> Get-MoveRequest Contosoa

DisplayName Status TargetDatabase

———– —— ————–

Contoso Corp Completed Database2

 

Moral of the story: If you are using powershell to resume move request remember the below, if it fails

Check to see if there is already a move request

               Similar name or alias or UPN

Try Resume-MoveRequest directly, rather than Get-Moverequest | Resume-Moverequest

Try different Identity like alias, if UPN does not seem to work

  MAINLY IRRITATION can sometimes provide answers 

Side note : Get-MoveRequest UPN | Get-moverequestStatistics –> also failed with the same error message

–   Praveen Kumar E     

www.Modern365.co.in 

Advertisements