Skip to content

Please add continuation token to the az devops security group membership list command #26784

@OneAndOnlySeabass

Description

@OneAndOnlySeabass

Related command

az devops security group membership list

Is your feature request related to a problem? Please describe.

Yes. Currently a certain group in our organization has more than 500 members in a security group. When we use this command to get its members we get the error "ERROR: TF400049: The request was aborted because it contained too many requested items <more than 500>, maximum allowed is 500." As there is no option for providing a continuation token (nor is it provided), we cannot get members for this group.

Describe the solution you'd like

  1. Add a continuation token to the response of az devops security group membership list if a group has more than 500 members.
  2. Add a --continuation-token argument to provide the continuation token returned to paginate through the response. The implementation could be similar to the --continuation-token argument in commands like az devops project list.

Describe alternatives you've considered

We eventually achieved our goals using the Azure DevOps REST API, however that solution was harder to implement than the solution that I propose here.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions