Hi everyone!
I'm attempting to create a flow that would automatically add microsoft teams to a 365 group. I didn't find an answer to this question.
Is there a way to get this done?
Thanks!
Solved! Go to Solution.
Hi @Githendra23,
You can use the Create team from group method from the Graph API in a PUT request for this. You can for example use the Send an HTTP request action of the Office 365 Groups connector for this.
Below is an example of this approach.
The Uri field uses a GroupID variable. Make sure you use the correct GroupId of the group you want to Teamify.
https://graph.microsoft.com/v1.0/groups/@{variables('GroupId')}/team
Body
{
"memberSettings": {
"allowCreatePrivateChannels": true,
"allowCreateUpdateChannels": true
},
"messagingSettings": {
"allowUserEditMessages": true,
"allowUserDeleteMessages": true
},
"funSettings": {
"allowGiphy": true,
"giphyContentRating": "strict"
}
}
Hi @Githendra23,
You can use the Create team from group method from the Graph API in a PUT request for this. You can for example use the Send an HTTP request action of the Office 365 Groups connector for this.
Below is an example of this approach.
The Uri field uses a GroupID variable. Make sure you use the correct GroupId of the group you want to Teamify.
https://graph.microsoft.com/v1.0/groups/@{variables('GroupId')}/team
Body
{
"memberSettings": {
"allowCreatePrivateChannels": true,
"allowCreateUpdateChannels": true
},
"messagingSettings": {
"allowUserEditMessages": true,
"allowUserDeleteMessages": true
},
"funSettings": {
"allowGiphy": true,
"giphyContentRating": "strict"
}
}
Your solution worked. Thank you!
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
Announcing a new way to share your feedback with the Power Automate Team.
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
User | Count |
---|---|
45 | |
16 | |
15 | |
14 | |
13 |
User | Count |
---|---|
78 | |
38 | |
27 | |
21 | |
18 |