cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper IV
Helper IV

Can I create a Teams channel from PowerApps?

Hi,


I am working on an app where every time a new task is created (after submitting a form), I want to create a new Teams channel by the name of that task in an already existing Teams group. 

 

This channel will be used for communication and sharing files between task creator and other stakeholders. 

Is it possible to achieve the above?

 

Regards,

Aakash

2 ACCEPTED SOLUTIONS

Accepted Solutions
Highlighted
Super User III
Super User III

Re: Can I create a Teams channel from PowerApps?

@AakashJaiswal 

You can create a new Teams channel by adding the Teams connector to PowerApps.  Then use this function with the following paramters.

MicrosoftTeams.CreateChannel(group_id, display_name, description)

 

Link to MS Documentation:

https://docs.microsoft.com/en-us/connectors/teams/#create-a-channel

 

---
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

View solution in original post

Highlighted
Community Support
Community Support

Re: Can I create a Teams channel from PowerApps?

Hi @AakashJaiswal ,

Could you please share a bit more about your scenario?

Do you want to create a Channel in a specific Team based on the submitted task name?

 

Based on the needs that you mentioned, I think the OnSuccess property of the Edit form and the MicrosoftTeams.CreateChannel() function could achieve your needs.

 

I have made a test on my side, please consider take a try with the following workaround:

Firstly, you need to get the group id for your existing Team group. Please take the following steps to get the group id for specific team:

9.JPG

 

10.JPG

 

Within your app, go to the Edit form, set the OnSuccess property of the Edit form to following:

MicrosoftTeams.CreateChannel(
                             "86c2b554-xxxx-43cb-xxxx-5816ee6344ad",  // replace here with your actual group id obtained above
                             EditForm1.LastSubmit.TaskNameColumn, 
                             {
                               description: "This is a channel for " & EditForm1.LastSubmit.TaskNameColumn
                             }
)

Note: The TaskNameColumn represents the column in your data source, which is used to store the Task name value. You could use the EditForm1.LastSubmit.TaskNameColumn formula to reference the submitted task name value. You need to add a connection to Microsoft Team connector from your app firstly.

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
Highlighted
Super User III
Super User III

Re: Can I create a Teams channel from PowerApps?

@AakashJaiswal 

You can create a new Teams channel by adding the Teams connector to PowerApps.  Then use this function with the following paramters.

MicrosoftTeams.CreateChannel(group_id, display_name, description)

 

Link to MS Documentation:

https://docs.microsoft.com/en-us/connectors/teams/#create-a-channel

 

---
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

View solution in original post

Highlighted
Community Support
Community Support

Re: Can I create a Teams channel from PowerApps?

Hi @AakashJaiswal ,

Could you please share a bit more about your scenario?

Do you want to create a Channel in a specific Team based on the submitted task name?

 

Based on the needs that you mentioned, I think the OnSuccess property of the Edit form and the MicrosoftTeams.CreateChannel() function could achieve your needs.

 

I have made a test on my side, please consider take a try with the following workaround:

Firstly, you need to get the group id for your existing Team group. Please take the following steps to get the group id for specific team:

9.JPG

 

10.JPG

 

Within your app, go to the Edit form, set the OnSuccess property of the Edit form to following:

MicrosoftTeams.CreateChannel(
                             "86c2b554-xxxx-43cb-xxxx-5816ee6344ad",  // replace here with your actual group id obtained above
                             EditForm1.LastSubmit.TaskNameColumn, 
                             {
                               description: "This is a channel for " & EditForm1.LastSubmit.TaskNameColumn
                             }
)

Note: The TaskNameColumn represents the column in your data source, which is used to store the Task name value. You could use the EditForm1.LastSubmit.TaskNameColumn formula to reference the submitted task name value. You need to add a connection to Microsoft Team connector from your app firstly.

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Highlighted
Helper IV
Helper IV

Re: Can I create a Teams channel from PowerApps?

Hi @v-xida-msft@mdevaney 

 

Thank you both for your wonderful solution. Unfortunately, I am no longer pursuing this as MS Teams has a limitation of allowing only 200 channels which are not helpful in my use case. I need feasibility to create at least 2000 channels.

 

Thanks again,

Aakash

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Find your favorite faces from the community presenting at the Power Platform Community Conference!

Watch Now

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (6,082)