There are scenarios when you need to know SharePoint Group ID such as when you want to list the membership of a SharePoint Group.
In this blog we look at how to get SharePoint Group ID using Power Automate.
Solution:
Step 1: Access your Power Automate tool in office 365 and create a flow using the “Instant cloud flow” and then select the “manual trigger a flow” trigger to initiate the flow. Also remember to name the flow based on its function so in this case, something like “Get Group ID”.
Step 2: Now add a “Send an HTTP request to SharePoint” action card which we will rename “Get Group ID”, and use the following details to fill the cards fields.
In the Uri section the blocked out section will be where you put your groups name within single quotes
Step 3: Create a Compose action card called “Group ID” to hold the outputs from above “HTTP request to SharePoint” action card.
Step 4: Now once you run the flow you can find your group ID in the above compose section as shown below.