Showing results for 
Search instead for 
Did you mean: 
Advocate II
Advocate II

Add AD Group into SharePoint Group

I can successfully add individual users.  How do I modify the HTTP Request below to add and an Azure AD Group?


HTTP Request to add Individual UserHTTP Request to add Individual User

Advocate II
Advocate II

To clarify, the AD groups are AD Security Groups

Solution Sage
Solution Sage

Hi @ALBordelon 

Have you tried adding the UPN of the Azure AD Group using the same API?

Hope it helps, please like it or mark it as a solution if it resolves your clarification or issue
-Sudharsan K...

I have not tried the UPN of the AD Group.  How would I find the UPN?

I figured it out, I was having issues finding the LoginName for each group but I was able to locate using a Sent HTTP Request


Step 1: Add all AD Groups into a single SharePoint Group

Step 2: Use HTTP Request to get a listing of all users in the SharePoint Group

  • Uri: _api/web/sitegroups/getbyname('SPGroupName')/users


Flow Help1.png

  • From the Results, I was able to get the LoginName for each Group
    • My AD Group is cAPTure-Proposal_Project Controls

flow help2.png


Step 3: Use the LoginName to add the AD Group into the SharePoint Group using the HTTP Request 


flow help 3.png


If there is a simpler way to get the LoginName, please let me know

Regular Visitor

Hi This one looks promising,


Could you please provide the screen capture of your complete flow please?

What have you assigned in varGroup ??

Helpful resources

UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

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