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
I called it users and it's a .txt file then saved on my c drive
KEGAN1975
Jun 09, 2023Brass Contributor
yes , this is the path where I saved it "C:\users.txt"
- Jun 09, 2023Seems users.txt is empty or is failing to load
- KEGAN1975Jun 09, 2023Brass Contributorstrange , as a test I have two users email addresses from the tenant in the file who's One Drives are not provisioned. Should it be a .csv file or should it be saved somewhere different to C drive?
- Jun 09, 2023After running
$users = Get-Content -path "C:\Users.txt"
call the variable running:
$users
and see if there is any output