Forum Discussion
Chandrasekhar_Arya
Jul 06, 2023Steel Contributor
How to list of groups a user's has been assigned
Is there a way to find and verify what all the groups a specific user is part of in Azure AD? Sometimes I need to identity list of groups and permission a possible rouge user or a unsatisfied privilege user of organization who is serving notice period has in the entire environment. Instead of searching any specific group
- Sure, use the Get-MgUserMemberOf cmdlet or the corresponding /memberOf endpoint. Here's an article with more details and a sample script you can use: https://www.michev.info/blog/post/4235/reporting-on-users-group-membership-in-azure-ad
- Sure, use the Get-MgUserMemberOf cmdlet or the corresponding /memberOf endpoint. Here's an article with more details and a sample script you can use: https://www.michev.info/blog/post/4235/reporting-on-users-group-membership-in-azure-ad