The Command 'Start-SPOCrossTenantUserContentMove' is not working for me?

Rishab Kumar P 5 Reputation points
2025-01-12T02:14:34.1466667+00:00

While migrating Tenant to Tenant (OneDrive and SharePoint), we've done with all the pre-requisites given in this. But while we start the OneDrive migration it says the below error.

Using SharePoint shell recommended in the official documentation

Command: Start-SPOCrossTenantUserContentMove `

-SourceUserPrincipalName *** Email address is removed for privacy *** `

-TargetUserPrincipalName *** Email address is removed for privacy *** `

-TargetCrossTenantHostUrl https://***-my.sharepoint.com/

But the error says

Start-SPOCrossTenantUserContentMove : Method "IsMnALicensingFlightEnabled" does not exist.

At line:1 char:1

  • Start-SPOCrossTenantUserContentMove `
  • 
    
  • CategoryInfo : NotSpecified: (:) [Start-SPOCrossTenantUserContentMove], ServerException
  • FullyQualifiedErrorId : Microsoft.SharePoint.Client.ServerException,Microsoft.Online.SharePoint.PowerShell.StartSPOCrossTenantUserContentMove

Then tried Get-SPOCrossTenantHostURL for validating. it works on the Target but not on the Source

Error: C:\WINDOWS\system32> Get-SPOCrossTenantHostURL

Get-SPOCrossTenantHostURL : Method "IsMnALicensingFlightEnabled" does not exist.

At line:1 char:1

  • Get-SPOCrossTenantHostURL
  • 
    
  • CategoryInfo : NotSpecified: (:) [Get-SPOCrossTenantHostUrl], ServerException
  • FullyQualifiedErrorId : Microsoft.SharePoint.Client.ServerException,Microsoft.Online.SharePoint.PowerShell.GetSP

OCrossTenantHostUrl

Maybe anyone help in sorting out this

OneDrive
OneDrive
A Microsoft file hosting and synchronization service.
1,279 questions
SharePoint Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
3,221 questions
0 comments No comments
{count} vote

1 answer

Sort by: Most helpful
  1. Ling Zhou_MSFT 20,940 Reputation points Microsoft Vendor
    2025-01-13T02:39:21.11+00:00

    Hi @Rishab Kumar P,

    Thanks for your detailed explanation, I am more than willing to help you out.

    The IsMnALicensingFlightEnabled method appears to be related to specific licensing or feature flags within SharePoint Online, particularly for tenant-to-tenant migrations.

    Please double check that your tenant has the relevant certificates:

    User's image

    Concerning the issue you mentioned, we have also done some internal research, but we couldn't find any relevant information for that error message unfortunately.If the problem still persists, it would be advisable for you to take a support so that you would get more resources involved and get further analysis and solutions regarding the issue you encountered.You may start a support ticket by following the instructions in the link below:

    Get support for Microsoft 365 for business

    If you have any concerns or questions, please do not hesitate to reach me.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. It will be beneficial to more community members reading here. Your contribution will be highly appreciated.


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.