CmdID / az / az ad / az ad group
az ad group get-member-groups
Get a collection of object IDs of groups of which the specified group is a member. Azure CLI reference
2 options Its page in the Azure CLI reference
Options
--cmd--security-enabled-onlytrue to specify that only security groups that the entity is a member of should be returned; false to specify that all groups and directory roles that the entity is a member of should be returned.