Migration manager giving the Scan File Failure errors "Could not retrieve file's metadata" and "The parent folder was not migrated" on at least 50% of all files when attempting to migrate fileshare to OneDrive

Sean McCabe 0 Reputation points
2023-09-08T13:33:38.2933333+00:00

Im currently migration an On-Premise fileshare to OneDrive using migration manager. My agent is installed on a server in the same forest as the fileshare and has 105.02 GB available storage space. (Ive requested a VM with over 150GB to be added as an agent) The largest user I'm trying to scan has 67GB, the total storage of the 3 users in the pilot is 91GB.

When I scan the users Im getting the Scan File Failure errors "Could not retrieve file's metadata" and "The parent folder was not migrated" on at least 50% of all files and folders for each user.

I was wondering if you could help.

Thanks,

OneDrive
OneDrive
A Microsoft file hosting and synchronization service.
792 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
9,520 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Emily Du-MSFT 41,371 Reputation points Microsoft Vendor
    2023-09-11T09:14:20.5966667+00:00

    This issue may be caused by the Temporary storage on the local computer is too low.

    In %appData%\Microsoft (most likely on C-Drive), Migration manager creates a folder named "MigrationToolStorage" to save the blobs or temporary data whilst it scans & uploads etc.

    You could try to run following commands to create a link to a different storage with more space.

    cd %appdata%\Microsoft
    mklink /J MigrationToolStorage Z:\SomeOtherFolder
    

    Reference:

    https://sharepains.com/2021/08/27/migrating-file-shares-with-sharepoint-migration-manager/

    Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. Please make sure that you completely understand the risk before retrieving any suggestions from the above link.


    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.