Search code examples
azure-devops-rest-apiazure-devops-extensions

How to get all user in organization by devops extenstions


i have an extension that install on azure devops. how can i get all user in my organization without register a client app with Azure DevOps => get token then call rest api ? Because i want other people can install my extension, and they doesn't want to do any step


Solution

  • You can use this api to get users in All Users page:

    https://vsaex.dev.azure.com/{OrganizationName}/_apis/UserEntitlements?%24filter=&%24orderBy=name%20Ascending
    

    enter image description here