Forum Discussion
NadirRiyani
Apr 12, 2020Brass Contributor
Create Channel Dynamically if any message gets in to Channel
Is there any option in Teams where I can create a channel when any specific message gets in to channel?
Example:
1) Channel receives the message like " This is Teams Developer, And you are a good developer"
2) Condition: If the message contains Teams then create new channel with the name "Channel1204" and Add the user User1, User2, User3.
I know that if channel is private then We can add the specific user in it and in case of public all Teams members inherited it.
Any relevant answer is appreciated.
Note: the message might receive from user or Via Incoming connector.
NadirRiyani umm, why?
Yes the graph api could read messages, and could create channels, maybe write an Azure Function.
- Trinetra-MSFT
Microsoft
StevenC365 , Please take a look at Create Channel using Graph API
- NadirRiyaniBrass Contributor
Trinetra-MSFT Thank you for your response.
Yes, I knew the Graph API is the option. Here two questions on it.
1) Is it possible to create Channel without Authentication (i.e. AAD Token - using single Signon OR AAD Username/Password)?
2) Which event do you suggest in Bot framework which executes when any Message gets Into the channel?