Azure Active Directory: Count of Users Assigned to Group(s)
submitted
G
Gradient MSP
Returns the number of users assigned to a group. The group name has to be exact, however, you might be able to convert to_string so you're not having to filter by the exact group name. This is useful when reconciling services in the Gradient MSP billing module.
Users[?contains(assignedGroups,
InsertGroupName
)].displayName | length(@)E
Erik Zwep
Thank you. This can also be used in combination with Dynamic Groups in Azure. For example, you automatically add users to a billing group based on certain properties.