Skip to content

Get-PASGroup -includeMembers $true only returns a maximum of 4 group members #559

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Mercury67 opened this issue Feb 21, 2025 · 1 comment

Comments

@Mercury67
Copy link

Describe the issue
When calling Get-PASGroup -includeMembers $true the api only returns a maximum of 4 group members.

To Reproduce
Steps to reproduce the behavior:

  1. call Get-PASGroup -includeMembers $true for any group that has more than 4 members

Expected behavior
A clear and concise description of what you expected to happen.

All members of group should be returned.

Screenshots & Console Output
If applicable, add screenshots and/or console output to help explain your problem.

<--Console Output Goes Here-->
611 CyberArk_Safe_SCCMRecast                     Directory \        {@{username=mgarret; id=201}, @{username=tomdk; id=116}, @{username=jzillow; id=111}, @{username=jleverson; id=169}…}


**Your Environment**
Include relevant details about your environment

* PowerShell Version: 7
* psPAS Version:  6.3.78
* CyberArk Version: 14.4

**Additional context**
Add any other context about the problem here.
@pspete
Copy link
Owner

pspete commented Apr 15, 2025

same result if you try

Get-PASGroup -includeMembers $true | Select-Object -ExpandProperty members

?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants