Help · Troubleshooting
Troubleshooting SharePoint and OneDrive
What to do when people have no OneDrive in the new tenant, files have names SharePoint refuses or paths that are too long, or copies in a batch overlap.
Last updated
Find what you see on a SharePoint or OneDrive batch, then follow the steps under it. Click a copy to open its page: the Failed items tab lists each file that didn't copy, with why.
People have no OneDrive in the new tenant #
You see: on the batch page, N people have no OneDrive in the new tenant yet, with PowerShell commands under it. Their copies fail with ava.thompson@northshoreanimal.example has no OneDrive in the new tenant yet.
Microsoft only makes a person's OneDrive when they first open it, or when a SharePoint admin asks for it. Mygration can't do it for them.
Click Copy the commands.
Give them to a SharePoint admin of the new tenant. They run them in the SharePoint Online Management Shell (
Install-Module Microsoft.Online.SharePoint.PowerShell, once). The commands look like this:Connect-SPOService -Url https://<tenant>-admin.sharepoint.com Request-SPOPersonalSite -UserEmails @('ava.thompson@northshoreanimal.example', 'liam.chen@northshoreanimal.example') -NoWaitWait. It takes a few minutes, sometimes longer.
Click Check again on the warning. When it's gone, click Run again (or Retry failed) on the batch.
Or ask each person to open OneDrive once in the new tenant.
No license with OneDrive #
You see: No license with OneDrive: and a list of people.
They have no license that includes OneDrive, so it can't be set up.
- Assign each one a license that includes SharePoint (OneDrive).
- Click Check again. If their OneDrive still needs setting up, the warning gives the commands above.
Note
Someone who never opened OneDrive in the old tenant has nothing to copy. Their copy shows Nothing to copy, not a failure.
Names SharePoint refuses #
You see: after Scan, N names SharePoint refuses: left out. Or, on a copy, a count of files left out.
SharePoint won't take some names at all: Windows device names like CON, PRN, AUX, NUL, COM1 or LPT1 (with
any extension), and names with _vti_ in them. Those files are left out and listed, not failed. The rest copies.
- On the scan, click Show the files to see each one marked refused.
- Have the customer rename them in the source (
CON.txttoCON-notes.txt, say). - Click Run again. The renamed files copy.
From a file server, names ending in a space or a period are refused too: rename them on the file server. From Google
Drive, Box and Dropbox, characters SharePoint refuses are replaced with _ by themselves, so nothing is left out.
Paths that are too long #
You see: after Scan, N files would fail: their paths would be too long in the destination. Or, on a copy's Failed items: Not copied: its path in the destination would be N characters, and SharePoint takes up to 400.
SharePoint takes paths up to 400 characters, counted from the site's address.
Do one of these, then click Run again:
- Copy into a folder nearer the library's top (or a site with a shorter address).
- Shorten folder names in the source.
- Leave those folders out: the batch's Settings tab, What's copied, Change.
Tip
Click Scan before the first run. It copies nothing, and shows names and paths to fix while there's time.
Copies that overlap #
You see: One copy is already part of another copy in this batch, going to the same place, with which copy is inside which: the folder … is inside the whole library ….
Both copies would copy the same files into the same place. Run together, they get in each other's way, and the copy goes file by file instead, which is slower.
- Click Remove the extra copies, and confirm. The bigger copy takes their files. What they already copied stays.
- If you only meant the smaller copy, remove the bigger one from the Copies list instead.
- Or run them one after the other, not together.
Other messages #
| You see | What to do |
|---|---|
| N OneDrives won't fit where they go (or copies won't fit) | Give them more storage first: a license with more OneDrive storage, or a higher limit in the SharePoint admin center. For a site: Active sites → Storage. Then Run again: what's copied is kept. |
| The destination OneDrive or site is full | The same: give it more storage, then Run again. |
| The file is locked (checked out, or open for editing), or the site or library is read-only | Have it checked in or closed in the source, then Run again. |
| Created By and Modified By will show the app… | The migration app needs its SharePoint certificate. See Troubleshooting: connections. |
| A copy Failed | Open it to see why. Fix that, then click Retry failed: only the copies that failed run again. |