Forum Discussion
KEGAN1975
Jun 09, 2023Brass Contributor
Powershell pre provisioning One Drives on a M365 tenant
I'm new to PowerShell and trying to follow these instructions to pre provision OneDrives in bulk on a tenant https://learn.microsoft.com/en-us/sharepoint/pre-provision-accounts#pre-provision-many-us...
KEGAN1975
Jun 09, 2023Brass Contributor
AndresGorzelany did you mean like this? (see pic) it bought up the two users on my file
KEGAN1975
Jun 09, 2023Brass Contributor
I changed the text file to a .csv and it worked. From the microsoft link in original post it seems to suggest creating a .txt file
- Jun 12, 2023
That could also affect
- KEGAN1975Jun 12, 2023Brass ContributorThe other factor to why it wasn't working was that I was creating new users in the admin centre then trying to provision their One Drives immediately with PowerShell. I'm sure you have to wait for a certain period from when you create a new user to when the provision via PowerShell will work?
- KEGAN1975Jun 10, 2023Brass ContributorIt's worked once for one unprovisioned user and I'm doing exactly the same thing again for other un provisioned users and it doesn't work !