Forum Discussion

AB21805's avatar
AB21805
Bronze Contributor
Jul 03, 2024

Using powershell to create folders within users onedrive

Hi all,

I'm experiencing several issues with different PowerShell versions when trying to create folders in OneDrive for users in bulk.

 

PowerShell 5.1 does not recognize Connect-PnPOnline.
PowerShell 7 does not recognize Connect-SPOService.


I have been following the instructions from this guide, which worked on my previous device. However, I’m unable to get it to work on my new device.

 

My goal is to create folders within specific users' OneDrive accounts. Could you please assist me in resolving this?

Thank you!

Resources