2

I have this weird thing going on with my tenant. I have successfully executed this PowerShell command on other tenants to retrieve Site collection administrators for user one drive for business. However, one particular tenant, I cannot get any return when executing the same command.

working

Get-SPOUser -Site https://sitename-my.sharepoint.com/personal/testuser1_testuser1_onmicrosoft_com | where {$_.IsSiteAdmin}

not working

Get-SPOUser -Site https://myplace.mss.com/personal/testuser1_mss_com | where {$_.IsSiteAdmin}

Is it the way the URL is named for mysite????

6

1 Answer 1

-1

You need to be a site admin yourself to have it show the property as TRUE.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.