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
Solved! Go to Solution.
Hi @clNo1
This is what it should look like:
What is your error message and can you share the flow run history?
Damien
Hi @clNo1
This is what it should look like:
What is your error message and can you share the flow run history?
Damien
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.
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
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
User | Count |
---|---|
2 | |
2 | |
2 | |
2 | |
2 |