How to get a list of groups and group memberships in Azure?

Solution 1:

You can use the Azure AD PowerShell module to get users and groups programmatically. This would allow you to write a query to get a user, and then list any groups a user is in.

For example:

Get-AzureADUser -SearchString [email protected] | Get-AzureADUserMembership