Thursday, January 24, 2019

OneDrive For Business: Provisioning via PnP PowerShell

Let's assume you want to migrate stuff from a personal folder, a file share or OneDrive to a tenant. Now, let's also assume that the user never logged in and therefore has no personal site. How do you migrate the data to the users personal site? Well, you just create it for the user!

With this PnP PowerShell script, you can simply create the personal sites & OneDrive for Business accounts for users in your environment. Simply log in to O365 with your SharePoint address (f.ex. and run this script
The first script is for multiple users, the second script is for a single user.

No comments:

Post a Comment