
Announcements
Hi All,
I am trying to create a Microsoft Team based on an existing Microsoft Group ID in Office 365 using Microsoft Graph. I keep recieveing the following error:
{
"inputs": {
"method": "PUT",
"uri": "https://graph.microsoft.com/v1.0/groups/@{body('Parse_JSON_-_Drive_info_to_JSON_object')?['id']}/team",
"headers": {
"Content-Type": "application/json"
},
"body": {
"memberSettings": {
"allowCreateUpdateChannels": true
},
"messagingSettings": {
"allowUserEditMessages": true,
"allowUserDeleteMessages": true
},
"funSettings": {
"allowGiphy": true,
"giphyContentRating": "strict"
}
},
"authentication": {
"type": "ActiveDirectoryOAuth",
"tenant": "@variables('TenantId')",
"audience": "https://graph.microsoft.com",
"clientId": "@variables('ClientId')",
"secret": "@variables('ClientSecret')"
}
}
}
Example of URI output:
I hope someone can help because I don't understand why this isn't working?
https://docs.microsoft.com/en-us/graph/api/team-put-teams?view=graph-rest-1.0&tabs=http