Power Automate : Adding a O365 group as Sp Visitors Group
This is going to be a little different than the other post we saw before where we add Office group as a Contributor to a specific Doc Library.
# For this example, I am Initializing the SPVisitors Group Name
# Use the http Get request to gather the visitors group
# Parse the data to get the ID of the sitegroup
# Use the ID to add the Office Group/Team ID to the SiteGroup with the below body
{
"__metadata": {
"type": "SP.User"
},
"LoginName": "c:0o.c|federateddirectoryclaimprovider|@{variables('TeamID')}"
}
It look like the below :
Comments