Hi guys,
If I run this Powershell cmdlets I get results back
Get-SPOUser -Site https://SomeCompany.sharepoint.com/sites/Hotels
However if I run the same command by adding the subsite, I get an error
Get-SPOUser -Site https://SomeCompany.sharepoint.com/sites/Hotels/Hotel1
Here is the error that I'm getting:
Get-SPOUser : The site https://SomeCompany.sharepoint.com/sites/Hotels/Hotel1 is not properly formed. At line:63 char:1+ Get-SPOUser -Site https://SomeCompany.sharepoint.com/sites/Hotels/Hotel1+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~+ CategoryInfo : NotSpecified: (:) [Get-SPOUser], ServerException+ FullyQualifiedErrorId : Microsoft.SharePoint.Client.ServerException,Microsoft.Online.SharePoint.PowerShell.GetSPOUser
Can you please advise?
Thank you
Codernater