Forum Discussion

Ew0ra's avatar
Ew0ra
Copper Contributor
Aug 31, 2023

Is there an API that list all project level Azure DevOps Groups?

I found the following API, that retrieves TFS Groups: https://tfs2018:8080/tfs/{collection}/{team-project}/_api/_identity/ReadScopedApplicationGroupsJson?__v=5. I was wondering if there is also an API that retrieves the Azure DevOps Groups for a specific project, as I wasn't able to find it yet. I would also like to view the permissions and members of these groups. I'm also open to tfssecurity options, if those exist.
Thank you in advance!

1 Reply

  • Jacob_Peterson's avatar
    Jacob_Peterson
    Copper Contributor
    You can get all Groups from this endpoint:
    https://vssps.dev.azure.com/{collection}/_apis/graph/groups?api-version=7.1-preview

    Then check in the principal name of each group object for the project name like: [My Project]\\My_Project_Prod_Approvers

Resources