Powershell O365 Migration Error

John Peter 25 Reputation points
2025-02-11T00:23:31.8033333+00:00

Hello

Please i need your help on this issue.

Testing a migration account and getting an error.

User's image

Microsoft Exchange Online
Microsoft Exchange
Microsoft Exchange
Microsoft messaging and collaboration software.
688 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,822 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Xintao Qiao-MSFT 6,425 Reputation points Microsoft Vendor
    2025-02-11T02:44:59.4733333+00:00

    Hi, @John Peter

    According to the screenshot of your error, the operation cannot be executed because the target object is not found, so you need to check if the parameter object exists and is entered correctly.

    You can use the following command to get the correct remote server URL.

    Get-MigrationEndpoint | Format-List Identity, RemoteServer
    

    The procedure can be found in the following article

    Use PowerShell to move mailboxes | Microsoft Learn

    New-MoveRequest (ExchangePowerShell) | Microsoft Learn


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.