SAM2009
asked on
How get I get the list of groups that user is belong to in O365 by PowerShell?
How get I get the list of groups that user is belong to in O365 by PowerShell.
ASKER
Thanks but is it also the same cmd to get user Exchange management role groups in O365? Like to see if it part of: Discovery Management, Help Desk, Import/Export, etc...
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks!
Open in new window
where you need to specify the DN of the user.
Alternatively you can use the Azure AD Module:
Open in new window
More examples here: https://www.michev.info/Blog/Post/1655/quickly-list-all-groups-a-user-is-member-of-or-owner-of-in-office-365