When doing a pre-migration check or copying content, one of the following message is displayed:
Unable to create the folder because it refers to an item having the same name.
Unable to copy the item because it refers to a folder having the same name.
This problem can only happen when migrating files and/or folders to a destination library that already contains data. Basically, the problem can be one of the following:
- You are migrating a file and the destination already contains a folder with the same name at the same location.
- You are migrating a folder and the destination already contains a file with the same name at the same location.
The problem can be resolved by one of the following solutions:
- Migrate to another location (another library or another folder) to prevent collisions.
- Rename the source or the destination file/folder. If you want to rename the source elements while you perform your migration, first export them to Excel, then change the file name (or path) in the DestinationPath column and finally import the Excel file. You can read more about this here.