cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
clNo1
New Member

Microsoft 365 Groups API issue

Hi there,

 

Struggling to make the https://graph.microsoft.com/v1.0/groups/{id}/owners/ API endpoint work within a power automate flow.

 

Have successfully retrieve the ID of the group using the same API through (for example):

 

https://graph.microsoft.com/v1.0/groups?$filter=mailNickname eq '<groupname>'&$select=id

 

However when then using the group ID to form a QueryString for the /owners endpoint, the flow just hangs.

 

I've checked the URI and it's formed correctly, have also tested it in Graph Explorer and it works. Finally, have also pulled the "Send HTTP Request (Office 365 Groups)" task in to an otherwise empty test flow, and hard coded group ID in to the URI, with the same result. The flow just times away with no results.

 

I'm a bit of a newbie, so could do with some assistance in troubleshooting this further. 

 

Any help greatly appreciated.

 

clNo1

1 ACCEPTED SOLUTION

Accepted Solutions
DamoBird365
Super User
Super User

Hi @clNo1 

 

This is what it should look like:

 

DamoBird365_0-1643226113876.png

 

What is your error message and can you share the flow run history?

 

Damien

View solution in original post

2 REPLIES 2
DamoBird365
Super User
Super User

Hi @clNo1 

 

This is what it should look like:

 

DamoBird365_0-1643226113876.png

 

What is your error message and can you share the flow run history?

 

Damien

clNo1
New Member

Hi @DamoBird365 / Damien,

 

Thank you - it was as simple as removing the {} from around the ID. In Graph Explorer having these in worked, not in power automate.

clNo1_2-1643227599401.png

 

Thanks for your help - I knew it would be something daft / simple.

 

Strangely however, there were no errors that I could see, the process just hung. Never failed as it has done when I've done something really screwy with the QueryString. When you looked at the running flow, the whole section that contained the "Send HTTP Request" task was greyed out, right up to the top of a couple of nested Apply to Each loops (this was in the last of those nested loops).

 

Thanks again for your help!

 

clNo1

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

May UG Leader Call Carousel 768x460.png

June User Group Leader Call

Join us on June 28 for our monthly User Group leader call!

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Power Automate Designer Feedback_carousel.jpg

Help make Flow Design easier

Are you new to designing flows? What is your biggest struggle with Power Automate Designer? Help us make it more user friendly!

Top Solution Authors
Users online (1,375)