
Announcements
Hi everyone
I am working on an automation which creates a SharePoint site, applies a site design and creates a couple of SharePoint groups. I see there is a way to add users to SharePoint groups using Power Automate and Send HTTP Request to SP. I have managed to do that (although, I needed to hardcode the group ID for my Members and Visitors group).
Is there a way to add an existing Office 365 Group to the Members/Visitors group?
Thanks
I solved it for myself.
If anyone stumbles upon this post, and are using Site Designs, you can use
addPrincipalToSPGroup
You can add in the email address of the O365 group and add the users to the SP groups.
{
"verb": "addPrincipalToSPGroup",
"principal": "teams-group@company.com",
"group": "Members"
}