Digital workplaces, effective data management, and collaborative platforms are critical for organizational success in this world of rapid development. With its comprehensive toolkit, Microsoft Office 365 is transforming teamwork, productivity, and communication. OneDrive has established itself as an essential for safe file sharing and storage within this suite. OneDrive is not accessible to users by default. Using SharePoint Tools, we may pre-provision OneDrive for numerous users or manually activate it.
Table of Content
An Overview of Pre-Provision OneDrive
Pre- Provision OneDrive is the term used to describe when a user’s account is pre activated before they utilize it actively. Pre-provisioning OneDrive has several advantages, some of which are mentioned here.
- Users don’t have to manually set up their OneDrive accounts when pre-provisioning is done.
- It makes things easier for users and increases productivity by giving them instant access to an OneDrive account that is already configured.
- OneDrive is pre-configured for the customers, which streamlines the procedure of transferring disk contents to freshly formed accounts.
Pre-Provision OneDrive Method
By using the SharePoint Online Management Shell users can Pre-Provision OneDrive. Some of the requirements are mentioned below to done this process.
Requirements for Pre-Provisioning of OneDrive
- For doing this process, users must need to assign with either SharePoint Admin Access or Global Admin Access.
- Each user for whom you are provisioning OneDrive has to have a current SharePoint license and be able to log in.
- The most recent version of SharePoint Online Management Shell must be installed.
How to Set Up Pre-Provision OneDrive for Users
After meeting the prerequisites outlined above, you must proceed with the OneDrives pre-configuration steps listed below.
Make List of Users
Making a list of users is the first thing you must do. Make a fresh text document, include the users, and then save it.
Login SharePoint Online with SharePoint Online Management Shell by using the login credential of Global Admin or SharePoint Admin.
Use the process mentioned below after opening the SharePoint Online Management Shell.
For an account with basic authentication:
Enter the command mentioned below and type your password.
Connect-SPOService -Urlhttps://domain-admin.sharepoint.com -Credential admin@domain.com
With MFA activated Account:
Enter the command mentioned below and type your ID and Password.
Connect-SPOService -Urlhttps://domain-admin.sharepoint.com
Pre-Provisioning of OneDrive by using users list
Now, use the following command to set up Pre-Provision OneDrive or the users.
$users = Get-Content -path "C:\Users.txt" Request-SPOPersonalSite -UserEmails $users
On the place of “C:\Users.txt” don’t forget to add the location of the user.
Note: Use the following command to allow people who have been blocked from signing in:
Get-Content -path "C:\Users.txt" | ForEach-Object { Set-MsolUser -UserPrincipalName $_ -BlockCredential $False }
Set Up Pre-Provision OneDrive for Every Licensed Users
Use the script below if you need to activate OneDrive for every licensed user in your organization. OneDrive will be activated in batches of 149.
$Credential = Get-Credential Connect-MsolService -Credential $Credential Connect-SPOService -Credential $Credential -Urlhttps://domain-admin.sharepoint.com $list = @() #Counters $i = 0 #Get licensed users $users = Get-MsolUser -All | Where-Object { $_.islicensed -eq $true } #total licensed users $count = $users.count foreach ($u in $users) { $i++ Write-Host "$i/$count" $upn = $u.userprincipalname $list += $upn if ($i -eq 149) { #We reached the limit Request-SPOPersonalSite -UserEmails $list -NoWait Start-Sleep -Milliseconds 655 $list = @() $i = 0 } } if ($i -gt 0) { Request-SPOPersonalSite -UserEmails $list -NoWait }
One can easily pre-configure OneDrive for numerous users or all licensed users in their organization by following the process approach.
Wrap- up
In this article, we have discussed the all of overview of Pre-Provision OneDrive, its benefits and steps for the completion. For the smoother process don’t forget to fulfill all the requirements mentioned above in this article. I hope you found this article beneficial, do comment below you doubts.
Read More: Mail Merge in Outlook
Migrate Office 365 to Google workspace