cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

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
Anonymous
Not applicable

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/

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

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/

View solution in original post

krishant007
Frequent Visitor

Do you know if there is a way to add a Microsoft 365 group to a SharePoint group using Power Automate?

Helpful resources

Announcements
Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

User Group Leader Meeting January 768x460.png

Calling all User Group Leaders!

Don't miss the User Group Leader meetings on January, 24th & 25th, 2022.

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