web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Get the GUID of a Shar...
Power Automate
Unanswered

Get the GUID of a SharePoint security group

(0) ShareShare
ReportReport
Posted on by 96

Hi

 

Hoping someone can help. I need to get the GUID of a custom SharePoint group (like Members, Owners, Visitors) so I can use it in an environment variable.

 

Is there a way to build a really quick flow to grab this using the group name or id number (456, etc)?

 

Really appreciate any help.

Categories:
  • Nived_Nambiar Profile Picture
    18,138 Super User 2026 Season 1 on at

    Hi @RIYxWRK 

     

    You can use send http request under sharepoint actions to send http request to retrive the GUID.

    see below

    Nived_Nambiar_0-1693560308540.png

     

    Here select the site and then use endpoint _api/web/SiteGroups/GetByName('Group Name')  in Uri field.

    Replace the Group Name by the group name of your sharepoint custom group. 

     

    The output of the action would be having ID attribute which is GUID of sharepoint group.

     

    Hope it helps !

    Thanks & Regards,

    Nived N 🚀

    LinkedIn: Nived N's LinkedIn
    YouTube: Nived N's YouTube Channel

    🔍 Found my answer helpful? Please consider marking it as the solution!
    Your appreciation keeps me motivated. Thank you! 🙌

  • Harry_rx Profile Picture
    96 on at

    Hi @Nived_Nambiar 

     

    That got everything except the GUID. 

     

    Any other ideas?

  • RuudByName Profile Picture
    2 on at

    Did anyone find a solution for this? I need the GroupId in GUID format (not the number, but the guid) of SharePoint group on the site. Does not seem to be returned by any call.

  • Harry_rx Profile Picture
    96 on at

    No solution yet. I even tried asking copilot and it didn't understand the question LoL.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 289

#2
11manish Profile Picture

11manish 288 Super User 2026 Season 2

#3
Henil Profile Picture

Henil 125

Last 30 days Overall leaderboard