Forum Discussion
William Tait
May 12, 2017Brass Contributor
Azure AD Dynamic Groups - Display Membership and count members
Created Azure AD Dynamic Groups. These Groups have thousands of members. The Azure Portal GUI will show the group as having "1000+ Members". Drilling into this Dynamic group will display the followin...
- May 13, 2017
Try the -All parameter?
VasilMichev
May 13, 2017MVP
Try the -All parameter?
William Tait
May 15, 2017Brass Contributor
Yes, that works. Documentation doesn't explain why without -ALL the limit is 100.
Awkward syntax but it works:
(Get-AzureADGroup -ALL 1 -Filter "DisplayName eq 'GroupName'" | Get-AzureADGroupMember -ALL 1).COUNT
Thanks.
Awkward syntax but it works:
(Get-AzureADGroup -ALL 1 -Filter "DisplayName eq 'GroupName'" | Get-AzureADGroupMember -ALL 1).COUNT
Thanks.
- VasilMichevMay 15, 2017MVP
It's a boolean parameter, 1 equals $true :) And don't get me started on the stupid syntax used by the AzureAD module, gotta love programmers...