Forum Discussion
Joe Fedorowicz
Sep 23, 2016Iron Contributor
Trying to use PowerShell for SharePoint Online, failing miserably
Hey, I'm usually good enough to feel my way through any problem I might have, but I have hit a stopping point with PowerShell. Every time I try to pull data or execute anything, I get an "Unau...
Joe Fedorowicz
Sep 25, 2016Iron Contributor
I think this is 100% what I'm doing wrong. i'll update tomororw. Thanks.
Vipin Tyagi
Oct 04, 2016Brass Contributor
Hey,
A simple tip for you.
If you are using PnP PowerShell then you can use below cmdlet to connects SPO
1.Connect-SPOnline(site Url will be https:\\abc.sharepoint.com)
But if you are using SharePoint Online Management Shell,you have only one option to connect
1.Connect-SPOService(Url will be https:\\abc-admin.sharepoint.com)
Cheers!!!!