I have azure devops projects which contains a groups called "Project Administrators". I am adding AAD members, AAD group to this Team Group.
Members added as type " aad user" Group added as type "user"
Using Rest API "https://vsaex.dev.azure.com//_apis/GroupEntitlements//members" I am able to retrieve all AAD members. But not AAD group. How Can I fetch AAD group? Can someone help me?
If you want to get specific group from your account, make use of below Rest API call:
GET https://vssps.dev.azure.com/{organization}/_apis/graph/groups/{groupDescriptor}?api-version=6.0-preview.1
Refer this link to know more in detail.
If you want group entitlements of specific group in your account, make use of below Rest API call:
GET https://vsaex.dev.azure.com/{organization}/_apis/groupentitlements/{groupId}?api-version=6.0-preview.1
Refer this link to know more in detail.
If you want to get list of all groups present in your current scope(account), make use of below Rest API call:
GET https://vssps.dev.azure.com/{organization}/_apis/graph/groups?api-version=6.0-preview.1
Refer this link to know more in detail.
If you want to get list of all group entitlements in your account, make use of below Rest API call:
GET https://vsaex.dev.azure.com/{organization}/_apis/groupentitlements?api-version=6.0-preview.1
Refer this link to know more in detail. Please find this reference if it is helpful.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.