cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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 blog

Power Automate Video Tutorials

View solution in original post

3 REPLIES 3
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 blog

Power 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 blog

Power Automate Video Tutorials

View solution in original post

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Users online (15,276)