How to get all the users list from the AzureDevops organization

Priyadharshini R 1 Reputation point
2022-08-27T10:48:15.957+00:00

Hi,

I tried to get all the users in an organization. But from the response I am getting only 500 records and also few records are not coming in the response.

To get all the users in response,

or do we need to change any configuration settings in AzureDevOps to get all the users?

Is there any limitations based on the users Access Level?

Or Do we need to add pagination to get all the records?

Thanks!

Azure Databricks
Azure Databricks
An Apache Spark-based analytics platform optimized for Azure.
2,529 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. JimmySalian-2011 42,511 Reputation points
    2022-08-27T17:04:36.8+00:00

    Hi Priya,

    I think this is possible via the web portal or the Azure DevOps CLI command, you can get a list of the users in your organization and view their access level information, you must be the Organization owner or a member of the Project Collection Administrators group.

    If the script is required please follow this guide and it lists a script for exporting the users and information.

    how-to-list-all-users-and-group-permissions-on-azure-devops-using-azure-devops-cli-54f73a20a4c7

    =
    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.
    ----

    please don't forget to upvote and Accept as answer if the reply is helpful

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.