Having issues with SharePoint Migration Manager Tool permissions

Robert Donovan 26 Reputation points
2025-02-18T12:18:33.2266667+00:00

I am migrating a number of file shares on an on prem windows server to SharePoint Online. The account I aum using for the migration has the Sharepoint Manager role as well as Global Admin for this test. For the test I am only moving one file share from on prem to a document library folder. I have site admin and owner rights on that Sharepoint site. The on prem file server account with the file share in question and the agent is using an account that has access to all the file shares (tested with the Agent). But I cannot get the migration to work. Every time I run the task I get this error.

"The user '******@xxxxxxxxxx.com' does not have enough permission". Exception ID 0x02010017

What am I missing?

SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
11,232 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Yanli Jiang - MSFT 29,286 Reputation points Microsoft Vendor
    2025-02-19T05:53:18.0133333+00:00

    Hi @Robert Donovan ,

    Good days.

    The error code 0x02010017 is telling you that the account used for migration isn’t recognized as a Site Collection Administrator on the destination site. Even though your account has global admin and SharePoint Manager roles—and you’re a site owner—SharePoint Online requires that the migration account be explicitly added as a Site Collection Administrator on the target site. Global admin status does not automatically grant site collection admin rights on every site.

    Please add the Account as a Site Collection Admin as follow steps:

    1. Navigate to your target SharePoint Online site.
    2. Go to Site Settings or click on the gear icon and choose Site Permissions.
    3. Click on Advanced permissions settings (you can also access this by appending /_layouts/15/user.aspx to your site URL).
    4. In the Site Collection Administrators section, ensure that the migration account (******@xxxxxxxxxx.com) is added.

    Then, confirm that any other accounts the migration tool or agent might be using also have the required permissions.

    Finally, you can try the migration again and see the result.

    Please do let us know if you have any further queries.

    Kindly consider accepting the answer if the information provided is helpful. This can assist other community members in resolving similar issues.


  2. Yanli Jiang - MSFT 29,286 Reputation points Microsoft Vendor
    2025-02-21T06:58:55.63+00:00

    Oh, @Robert Donovan , this is really strange. I don't know what the "Destinations Template.csv" you are talking about is and whether the error is related to it. But I still think that if it is what you said that the file cannot be found, the error message should not be like this. At present, I can't determine which step the root cause of the problem is. Therefore, I suggest you use another migration tool —— SharePoint Migration Tool. This is also a free migration tool launched by Microsoft.

    You can refer to this post to implement your migration:

    https://www.sharepointdiary.com/2022/10/how-to-migrate-file-share-to-sharepoint-online.html

    Non-official, just for reference.

    I appreciate your patience and understanding.

    I hope this information helps.


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

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

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.