Copilot for Microsoft 365 Tech Accelerator
Feb 28 2024 07:00 AM - Feb 29 2024 10:30 AM (PST)
Microsoft Tech Community

Get-ADGroupMember - The Size Limit For This Request Was Exceeded

Copper Contributor

If you are trying to get the members of a large group using Get-ADGroupMember, you will surely be encountered with the error below.

Get-ADGroupMember : The size limit for this request was exceeded. The full error message is as shown below.


The number of objects that Get-ADGroupMember can return is restricted by a limit in the Active Directory Web Services. And the limit is 5,000 unless a different value is provided in the config file.



0 Replies