How to list all user’s group membership in 365


Get Distinguished Name:

get-Mailbox [Username] | fl Name,Distinguishedname

Groups:

get-group -ResultSize Unlimited -Filter ‘Members -eq “[User Distinguished Name]”‘

Distribution Groups:

Get-DistributionGroup -ResultSize Unlimited -Filter ‘Members -eq “[User Distinguished Name]”‘

GD Star Rating
loading...
GD Star Rating
loading...

Tags: 365, group membership

Trackback from your site.