Can you get a 365 Group ID from a Group Display Name in Power Automate?
In Graph I would use: https://graph.microsoft.com/v1.0/groups?$filter=displayName eq '[Group Name]'
But I can't get this to work in an HTTP call?
Thanks
Carl
Solved! Go to Solution.
Thanks for letting me know this could be done! I tried all suggestions and was having the same issue but it turns out I had to add '+' for Flow to accept it:
https://graph.microsoft.com/v1.0/groups?$filter=displayName+eq+'[Group Name]'
Hi @Carl__D,
Just to double check, have you added the ConsistencyLevel: eventual to the Header of your request?
If saying "In Graph" you mean the Graph Explorer tool, why don't you do the same GRAPH request using the "Send an HTTP request" action of the "Office 365 groups" connector?
I am able to get it, check if your login has consent to get group details if not give permissions and try again
Thanks for letting me know this could be done! I tried all suggestions and was having the same issue but it turns out I had to add '+' for Flow to accept it:
https://graph.microsoft.com/v1.0/groups?$filter=displayName+eq+'[Group Name]'
Hi @Carl__D .
Good to know you got it worked! Please accept the the reply as the solution to help the other members find it.
Best regards,
Community Support Team _ Jeffer Ni
Best regards,
Community Support Team _ Jeffer Ni
If this post helps, then please consider Accept it as the solution to help the other members find it.
Which HTTP Request action are you using?
I tried using Group > Send an HTTP request (Preview) with the URI
https://graph.microsoft.com/v1.0/groups$filter=displayname+eq+'groupdisplayname'
and got the following error:
URI path is not a valid Graph endpoint, path is neither absolute nor relative or resource is not one of the supported (me, users, groups, sites, search, planner, teams, chats)
UPDATE - I fixed this error using this technique -https://powerusers.microsoft.com/t5/Building-Flows/Power-Automate-O365-Groups-activities-Get-group-I...
But I still cannot extract the Group ID.
Also, I'm trying to get the Group ID after I find the entry with the correct Display Name.
Thanks in advance.
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.
At the monthly call, connect with other leaders and find out how community makes your experience even better.
User | Count |
---|---|
26 | |
25 | |
23 | |
23 | |
21 |
User | Count |
---|---|
62 | |
44 | |
40 | |
29 | |
27 |