Quantcast
Channel: Azure Active Directory forum
Viewing all articles
Browse latest Browse all 16000

"Get-MsolGroup -UserObjectId " cannot be used to get a user's group membership. What is the alternative ?

$
0
0

Hello All -

I have a use case where I need to get all the security group membership of my office 365 user. I thought of executing Get-MsolGroup (http://technet.microsoft.com/en-us/library/dn194130.aspx) with the -UserObjectId parameter (where I pass user's object id) but looks like this parameter can be used only with 'IsAgentRole' switch parameter which again should be used only by partners.

I am not a partner and I own my office 365 subscription. Regarding this - I posted this at the Office 365 community forum (http://community.office365.com/en-us/forums/148/p/204159/614416.aspx?ss=b8400d75-2fc0-4823-bdb7-b4f956c3e77f#614416), but was asked to post it here as there was no answer there.

As subscription owner how do I get a user's group membership ? Is there any other way ?

Please help. Thanks



Viewing all articles
Browse latest Browse all 16000

Trending Articles



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