Forum Discussion

jagen77's avatar
jagen77
Copper Contributor
Feb 28, 2023

Getting ScopeId from Azure DevOps RoleDefinitions API

Hello,

I am looking at calling this Azure DevOps API:

Roledefinitions - List - REST API (Azure DevOps Security Roles) | Microsoft Learn 

to get a list of security roles definitions. 

 

From the Microsoft article, there is not much information on how to get the ScopeId when calling the RoleDefinition API.

 

Anyone can share some information on getting the ScopeId param? How do we determine the ScopeId to use?

 

Thanks

  • KaynDeLunaris's avatar
    KaynDeLunaris
    Copper Contributor

    jagen77 I'm actually sitting right on the same problem. Got any Updates/Informations on this Topic?

    I'm trying to get the Informations via a Powershell script which should give out a list with all securityroles roledefinitions for each project.

Resources