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

Super User
Super User

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

MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Top Solution Authors
Users online (1,366)