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
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 tips 768x460 v2.png

Restore a Deleted Flow

Did you know that you could restore a deleted flow? Check out this helpful article.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Top Solution Authors
Top Kudoed Authors
Users online (2,642)