cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
rodrigo_menende
Microsoft
Microsoft

How to Get the Azure AD Group ID by Name

Hi, I need to list all members of a security or distribution group  whose name is known.

the "Get Group" action requires the group id as input. 

 

How do I retrieve the group id?

 

Thanks!!!

1 ACCEPTED SOLUTION

Accepted Solutions

Hi @rodrigo_menende 

 

There are no connectors available for this. You can execute the API using HTTP connector without coding.

 

Please have a look at these posts.

 

https://flow.microsoft.com/en-us/blog/http-card-tutorial/

 

http://johnliu.net/blog/2018/10/microsoft-flow-http-trigger-request-trigger-and-you-probably-dont-wa...

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blogPower Automate Video Tutorials

View solution in original post

3 REPLIES 3
abm
Super User III
Super User III

Hi @rodrigo_menende 

 

Have a look at graph API method to get the group names and related details.

 

GET https://vssps.dev.azure.com/{organization}/_apis/graph/groups?api-version=5.1-preview.1

 

Reference:

https://docs.microsoft.com/en-us/rest/api/azure/devops/graph/groups/list?view=azure-devops-rest-5.1

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blogPower Automate Video Tutorials

Thanks for your reply.

 

Will look on how to get this from a flow.

I was expecting a more end user friendly alternative, without coding. Couldn´t find it so far, looks like it´s not implemented in the connector.

 

Thanks!

Hi @rodrigo_menende 

 

There are no connectors available for this. You can execute the API using HTTP connector without coding.

 

Please have a look at these posts.

 

https://flow.microsoft.com/en-us/blog/http-card-tutorial/

 

http://johnliu.net/blog/2018/10/microsoft-flow-http-trigger-request-trigger-and-you-probably-dont-wa...

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blogPower Automate Video Tutorials

View solution in original post

Helpful resources

Announcements
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Users online (1,184)