0
votes

I would like to receive a webhook notification when a new channel is created in a group in microsoft teams.

I already implemented receiving notifications when user is added to a group through teams (using this API - https://docs.microsoft.com/en-us/graph/api/resources/subscription?view=graph-rest-1.0). Unfortunately, it seems like group subscription is not triggered when a new channel is added.

Is there any other subscription I can use? Thank you in advance.

2

2 Answers

1
votes

If you have the possibility to add a bot to the Team, then bots can receive this using the bot event mechanisms. Have a look at Handle bot events, and in particular this section. Once your bot has received the notification, you can of course do whatever you need to do.

0
votes

Subscribing to channel events is not supported today by Microsoft graph. You can upvote the following idea to help prioritize efforts and also be notified whenever progress is made.

https://microsoftgraph.uservoice.com/forums/920506-microsoft-graph-feature-requests/suggestions/37288522-microsoft-teams-create-channel-with-a-webhook