When a user tries to access OneDrive for Business for the first time, they may see an error message stating that a OneDrive site cannot be created. This prevents the user from syncing files, using Files On-Demand, or accessing their personal cloud storage. The root cause is almost always a missing or misconfigured SharePoint site collection license, a blocked license assignment in the Microsoft 365 admin center, or a stale user profile in SharePoint Online. This article explains why the OneDrive site fails to provision and provides the exact steps to resolve the issue.
Key Takeaways: Fixing OneDrive Site Creation Errors
- Microsoft 365 admin center > Users > Active Users > Licenses and Apps: Verify that the user has a SharePoint Online license assigned. Without this license, OneDrive cannot provision a site.
- SharePoint Online admin center > User profiles > Manage user profiles: Delete and re-import the user profile if the license is correct but provisioning still fails. A stale profile blocks site creation.
- Microsoft 365 admin center > Setup > Organization profile > OneDrive storage: Confirm that the tenant-level storage limit has not been reached. A full tenant storage pool prevents any new OneDrive sites from being created.
Why OneDrive Site Creation Fails
OneDrive for Business sites are provisioned automatically when a licensed user first signs in to OneDrive. The provisioning process creates a personal SharePoint site collection under the my site host. If the site collection is not created, the user cannot access their OneDrive library.
The most common technical cause is a missing SharePoint Online license. Each user must have a SharePoint Online license assigned in the Microsoft 365 admin center. Without this license, the provisioning service skips the user entirely.
A second cause is a corrupted or stale user profile in SharePoint Online. When a user is deleted and re-added, or when their UPN changes, the old profile can block the creation of a new site collection. The provisioning system sees the profile as existing but incomplete, so it fails silently.
A third cause is tenant-level storage exhaustion. Each OneDrive site consumes storage from the tenant pool. When the pool is full, no new sites can be created, even for licensed users.
Steps to Fix the OneDrive Site Creation Error
The following steps resolve the error in most cases. Perform them in the order listed. Each step requires global admin or SharePoint admin privileges.
Step 1: Verify the SharePoint Online License Assignment
- Sign in to the Microsoft 365 admin center
Go to admin.microsoft.com and sign in with your global admin account. - Open the user list
Navigate to Users > Active Users and locate the affected user. - Open the user properties
Click the user display name to open the details panel. Then click the Licenses and Apps tab. - Check the SharePoint Online license
Expand the assigned license. Ensure the SharePoint Online (Plan 2) or SharePoint Online (Plan 1) toggle is set to On. If it is Off, toggle it On and click Save changes.
Step 2: Re-import the User Profile in SharePoint Online
- Sign in to the SharePoint admin center
Go to admin.microsoft.com, then select SharePoint from the left navigation. Alternatively, go directly to admin.microsoft.com/SharePoint. - Open user profile management
In the left navigation, click User profiles under More features. Then click Manage user profiles. - Find the affected user
In the search box, type the user display name or UPN and click Find. - Delete the user profile
Select the user from the list. Click the drop-down arrow next to the profile entry and choose Delete. Confirm the deletion. - Wait 30 minutes
SharePoint Online requires time to process the deletion. After 30 minutes, ask the user to sign in to OneDrive again. The provisioning service will create a fresh site collection.
Step 3: Check Tenant Storage
- Open the SharePoint admin center
Go to admin.microsoft.com/SharePoint. - View storage metrics
In the left navigation, click Active sites. The total storage used and available storage are displayed at the top of the page. - Free up storage if needed
If storage is full, delete unused site collections or purchase additional storage. After freeing space, ask the user to sign in to OneDrive again.
Step 4: Force Provisioning with PowerShell
If the steps above do not work, force provisioning using SharePoint Online Management Shell.
- Install and connect to SharePoint Online Management Shell
Open PowerShell as administrator. RunInstall-Module -Name Microsoft.Online.SharePoint.PowerShellif not already installed. Then runConnect-SPOService -Url https://[tenant]-admin.sharepoint.com. - Request OneDrive site provisioning
Run the following command:Request-SPOPersonalSite -UserMailAddresses "user@domain.com"
Replace the email address with the affected user. This command triggers the provisioning process immediately. - Verify the site
After a few minutes, ask the user to sign in to onedrive.com. The site should now be available.
If OneDrive Still Cannot Create a Site
User Was Deleted and Re-added Recently
When a user account is deleted and then re-added within 30 days, the old OneDrive site still exists in a deleted state. The new account cannot create a new site until the old site is permanently deleted. To fix this, go to the SharePoint admin center, click Deleted sites, find the user site, and permanently delete it. Then proceed with Step 2 and Step 4 above.
User UPN Changed
When a user UPN changes, the old OneDrive site remains tied to the previous UPN. The new UPN cannot provision a site. Use Set-SPOUser -Site https://[tenant]-my.sharepoint.com/personal/[old_upn] -LoginName [new_upn] in SharePoint Online Management Shell to update the site ownership. Then ask the user to sign in.
Tenant Has a Custom My Site Host
If your tenant uses a custom My Site Host URL, the provisioning service may fail if the host is misconfigured. Go to the SharePoint admin center, click Settings, and verify the My Site settings. The host URL must be a valid SharePoint site collection. If it is missing, recreate it using the Create Site Collection wizard with the template My Site Host.
Manual Provisioning vs Automatic Provisioning: Key Differences
| Item | Manual Provisioning (PowerShell) | Automatic Provisioning (Sign-in) |
|---|---|---|
| Trigger | Admin runs Request-SPOPersonalSite | User signs in to OneDrive |
| License requirement | SharePoint Online license must be assigned | SharePoint Online license must be assigned |
| Profile state | Works with stale profiles after deletion | Fails with stale or corrupted profiles |
| Time to complete | 5-15 minutes | Up to 24 hours |
| Admin intervention | Required | Not required |
Use manual provisioning when automatic provisioning fails after 24 hours or when the user profile has been deleted and re-imported.
With the license verified, user profile re-imported, and storage confirmed available, the OneDrive site should now provision correctly. Ask the user to sign in to onedrive.com and check that their personal library loads without errors. If the site still does not appear, run the PowerShell provisioning command as a final step. To prevent future failures, monitor license assignments and storage usage monthly using the Microsoft 365 admin center reports.