Note: After importing the list, if you want to check it, you can simply type $NewODFBUsers and the console will list all the users stored in the parameter.Request-SPOPersonalSite -UserEmails $NewODFBusers $NewODFBUsers = Get-Content -path "C:\Path\NewODFBUsers.txt" Update the path to this file in $NewODFBUsers parameter below. Just enter them one per line and save this file, no separator needed. txt file with a list of all the users that will need to be pre-provisioned. Change the $AdminURL to your SPO Admin URL.Please make the following changes for it to work in your environment You can either execute the below script line-by-line or save it as a.Your SharePoint online admin URL is your For example, if my tenant name was madmike /, then my SharePoint URL is.Open the SharePoint Online Management Shell.In order to do this, you will need to have installed the SharePoint Online Management Shell found here:.We will use the request-spopersonalsite PowerShell command to achieve this.
HOW TO SET UP OFFICE 365 ONEDRIVE FOR BUSINESS HOW TO
How To Pre-Provision A User’s OneDrive For Business In PowerShell This command was even built with bulk use in mind, something well appreciated! More information on the command can be found here: This used to involve some trickery, but Microsoft has thankfully created a command called request-spopersonalsite for this purpose. If you are doing a Tenant-To-Tenant Migration, you may need to pre-provision OneDrive for users being migrated.
If you still see this message 24 hours later, contact Support. Ask the person to go to /onedrive to set it up. Information: OneDrive isn’t set up for this user.