Precise number of group members in Active Directory

Evgeniy Git 1 Reputation point
2020-10-25T15:32:04.213+00:00

Hi,
I created a group with 100K members for test ( imported users and created group members via batch jobs).
Where can I see the exact members of the group in Active Directory UI? On the group page it shows 999+ members which is now very precise of course.

Thank you,
Evgeniy

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
18,616 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Leo Visser 91 Reputation points MVP
    2020-10-25T19:28:10.973+00:00

    Use

    (Get-AdGroup -Filter 'Name -eq "<NAME OF GROUP>"' | Get-AdGroupMember).count

    This will give you the amount of people in the group. I believe there is a limitation to the Get-ADGroupMember which is around 5000, if you think you will reach this limit please check here:
    https://stackoverflow.com/questions/46078880/get-adgroupmember-the-size-limit-for-this-request-was-exceeded

    1 person found this answer helpful.
    0 comments No comments

  2. Vasil Michev 90,631 Reputation points MVP
    2020-10-25T16:42:31.54+00:00
    0 comments No comments