OneDrive is not Provisioned for this User Error

OneDrive is not Provisioned for this User Error is triggered when the Office Application finds the user not authorised to use OneDrive. Usually, this error appears when there are duplicate or varying Office installations in place.

OneDrive is not Provisioned for this User

This issue has been reported a lot of times since the release of Office 365 products and Microsoft support personnel themselves take this as an utmost priority to solve. However, there are several methods which you can try performing on your own to get the issue fixed for good. In this article, we will first take a look at the core causes and then move on to the solutions to fix it.

What causes the Error ‘OneDrive is not Provisioned for this User’?

This issue is only limited to users who are accessing OneDrive using an existing Office 365 subscription but it can occur to other account sharing events as well. Here are some of the major causes which we came across:

  • License Assignment Mechanism: Every time you assign a user a license to use OneDrive, a backend mechanism works which registers the user under the license key you provided. If this mechanism doesn’t work properly, you will experience the issue under discussion.
  • Backend problem: Another interesting problem which we came across was where the problem occurred because of a genuine problem at the backend servers. Here, contacting official Microsoft support will help solve the problem. The issue may also appear due to OneDrive not syncing.
  • Number of users exceeded: Office 365 has a limit on how many users can use the application at a time. If the number of users has exceeded the limit, you will not be able to access OneDrive and will be greeted with this message.

Before we start with the fixes, make sure that you have all the licenses and passwords with you at hand. Also, the email address and password of the user which is experiencing the error message will be needed.

What does Microsoft say about Provisioning in Apps? (For Developers)

If you are a developer and using automatic provisioning, you should read the official Microsoft Documentation to understand the problem completely. According to the official Microsoft documentation, it states the following:

If a user’s OneDrive is not provisioned but the user has a license to use OneDrive, this request will automatically provision the user’s drive, when using delegated authentication.

The key point to note here is keyword delegated authentication. This basically means that the API of Office 365 will only provision Drive when the actor in context is a user. In other words, this means that the application should be using implicit OAUTH grant or authorization_code if you want automated provisioning.  If you are using application authentication, the automatic provisioning won’t occur.

Solution 1: Reinitiating License

The most basic step in fixing the error message is reinitiating the license to the user. Here, we will log into Office 365 using the administrator password and then revoke the license to the user. After a while, we will reinitiate the process and check if the issue is resolved.

What this does is completely reinitialize the provisioning module and if there were in issues during the provisioning, they will be fixed.

  1. Log into the system using administrator credentials.
    Admin Panel – Office 365
  2. Once you are in the main menu, navigate to Users and then select Active Users.
    Selecting Users
  3. Here, the user experiencing the error will be listed. Select the user and then click Edit in the heading of Product licenses
    Editing Product Licenses
  4. Now, remove the license from the user and restart your system completely.
  5. After waiting for around 20 minutes, log back into it and then re-grant the license.
  6. Now check in the user’s computer whether the issue is resolved.

Solution 2: Granting Right of SharePoint Admin

Another possible cause why you are experiencing the error message is where the specific right to provision OneDrive isn’t granted to the user. He may be granted other rights but if this right is missing, you will experience numerous problems including the error message. Here, we will navigate in the control panel of the administrator and manually grant the rights and see if this works.

  1. Log in the SharePoint Admin console and then click on User Profiles.
  2. Now, click People and then select Manage User Permissions.
  3. Now, add the users who you are trying to grant access of My Site to. Usually, this setting is set to ‘Everyone except external users’ by default.
  4. To add the user, scroll down to the Permissions section and besides the option of Create Personal Site, check the option.
  5. Press OK to save changes and exit. Now, the affected user can easily navigate to the OneDrive page and create the site as desired.

Note: If you are getting the Setting up screen in the App Launcher, let the process stay for as long as a day. Usually, this gets winded up pretty quick and the user is able to perform all the sections he wants.

Solution 3: Reinstalling the Application

Before we contact Microsoft support, we will try reinstalling the application. There are many instances where the application itself is a corrupt installation because of which the processes are not running properly. The issue you are experiencing might just be a bug in the application or its API. In this solution, we will navigate to the application manager in Windows and uninstall the applications related to Office 365 completely. Then, we will reinstall all of them completely by downloading a fresh copy.

  1. Press Windows + R, type “appwiz.cpl” in the dialogue box and press Enter.
  2. Once in the application manager, search for all Office 365 applications.
    Reinstalling Application
  3. Right-click on each one of them one by one and select Uninstall.
  4. After you have uninstalled every one of them, restart your computer completely. Now check if the issue is resolved.

Solution 4: Contacting Microsoft Support

If you are still unable to fix the error message ‘OneDrive is not provisioned for this User’, you can contact Microsoft officials and convey the problem to them. Since you are a subscription member of Office 365, you are entitled to support by Microsoft automatically.

Submitting Ticket to Microsoft Support

You can navigate to Microsoft’s official support and explain the issue there. Make sure to include the following information:

  • Office 365 subscription Date
  • Email address associated with the administrator in Office 365 subscription
  • Email address of the affected user
  • Description of the problem and the issue you are facing.

Make sure that you don’t add any personal password to any form online (including Microsoft). Just the email address will do.

Note: Appuals advises its readers to make sure that they are submitting a ticket on the official website of Microsoft. The steps listed here are for informational purposes only.

Bonus: Adding User Manually using PowerShell

This solution is for advanced users. If you are still unable able to provision the user’s access to OneDrive, you can remove them as we did in Solution 1 and then try to manually add them again using the method listed below.

You can access PowerShell by right-clicking the Windows button or pressing Windows + R, typing ‘powershell’ in the dialogue box and pressing Enter.

Here the code snippet:

[System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SharePoint.Client") | Out-Null

[System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SharePoint.Client.Runtime") | Out-Null

[System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SharePoint.Client.UserProfiles") | Out-Null

$ctx = New-Object Microsoft.SharePoint.Client.ClientContext("https://COMPANYNAME-admin.sharepoint.com")

$web = $ctx.Web

$ctx.Credentials = New-Object Microsoft.SharePoint.Client.SharePointOnlineCredentials($cred.UserName,$cred.Password)

$ctx.Load($web)

$ctx.ExecuteQuery()

$loader = [Microsoft.SharePoint.Client.UserProfiles.ProfileLoader]::GetProfileLoader($ctx)

$ctx.ExecuteQuery()

$loader.CreatePersonalSiteEnqueueBulk($username)

$loader.Context.ExecuteQuery()

Here, $cred means get-credential and $username is the UPN of the user.

Note: Make sure that you backup your system beforehand so you can always revert if something goes wrong. Also, make sure that the commands are run by the administrator access of Office 365 and enter the information properly because no prompt will be given before the granting of license and provisioning of OneDrive begins. You can also try disabling OneDrive and then enabling OneDrive on your computer.

ABOUT THE AUTHOR

Kevin Arrows


Kevin Arrows is a highly experienced and knowledgeable technology specialist with over a decade of industry experience. He holds a Microsoft Certified Technology Specialist (MCTS) certification and has a deep passion for staying up-to-date on the latest tech developments. Kevin has written extensively on a wide range of tech-related topics, showcasing his expertise and knowledge in areas such as software development, cybersecurity, and cloud computing. His contributions to the tech field have been widely recognized and respected by his peers, and he is highly regarded for his ability to explain complex technical concepts in a clear and concise manner.