cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
DawidZio
Level: Powered On

Add User to group SP Online - REST API

Hi,
Im Trying to use HTTP action and add User to group.
Do you know how to do it via REST API in SPOnline?
 
Tried with:
__metadata': { 'type': 'SP.User' }, 'LoginName':'i:0#.w|domain\\user
or... /web/sitegroups/getbyID(“+groupid+”)/users('userLogin')
No luck so far..
 
Alternatlviely do you have any other options? Please no answer with premium / extra paid connectors.
Regards
Dawid
1 ACCEPTED SOLUTION

Accepted Solutions
DawidZio
Level: Powered On

Re: Add User to group SP Online - REST API

Ok, sorry panic alert cancelled. It occurs that you need to foget about __metadata and add only LoginName https://emadgabriel.com/2019/01/04/microsoft-flow-add-user-to-sharepoint-group/

1 REPLY 1
DawidZio
Level: Powered On

Re: Add User to group SP Online - REST API

Ok, sorry panic alert cancelled. It occurs that you need to foget about __metadata and add only LoginName https://emadgabriel.com/2019/01/04/microsoft-flow-add-user-to-sharepoint-group/

Helpful resources

Announcements
firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 Release Wave 2 Plan

Power Platform 2019 Release Wave 2 Plan

Features releasing from October 2019 through March 2020

thirdimage

Flow Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

thirdImage

New Flow Community Board!

Check out the new Microsoft Flow Community Blog Topic Suggestion board!

fourthImage

Australia Summit

Travel to Melbourne and network with thousands of peers!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Flow Community Video Gallery!

Top Kudoed Authors
Users Online
Currently online: 44 members 4,060 guests
Please welcome our newest community members: