Quantcast
Channel: Microsoft Online: SharePoint Online forum
Viewing all articles
Browse latest Browse all 10096

Get-SPOUser The site is not properly formed

$
0
0

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


Viewing all articles
Browse latest Browse all 10096

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>