cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Carl__D
Helper I
Helper I

Add a Teams Tab/App to a private channel

Hello, 

 

I have a flow that provisions new Teams along with various Teams settings, private channels etc. 

I would like to programmatically add a Tab to the Team with a custom Team app - I can do this in Graph and in a new test flow, but when I add it to my provisioning flow I keep getting this error: 

 

{
"error": {
"code": "BadRequest",
"message": "App id {abc12} needs to be installed to the scope {abc12}@thread.tacv2 and be in an unblocked state to install/update a tab",
"innerError": {
"message": "App id {abc12} needs to be installed to the scope {abc12}@thread.tacv2 and be in an unblocked state to install/update a tab",
"code": "InvalidRequest",
"innerError": {},
"date": "2022-06-14T14:48:21",
"request-id": "{abc12}",
"client-request-id": "{abc12}"
}
}

 

This is the HTTP call that works alone, but not as part of the entire flow: 

Carl__D_1-1655219377216.png

 

I have used this as a referance: https://docs.microsoft.com/en-us/graph/api/channel-post-tabs?view=graph-rest-1.0

 

Does anyone know what the 'App id needs to be installed to the scope and be in an unblocked state to install/update a tab'

is referring to?

 

Any help/advice appreciated. 

 

Thanks

Car

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Carl__D
Helper I
Helper I

Worked it out - had to add 'installedApps' HTTP action first then update the Registered App permissions accordingly in Azure:

Carl__D_0-1655307843873.png

 

View solution in original post

1 REPLY 1
Carl__D
Helper I
Helper I

Worked it out - had to add 'installedApps' HTTP action first then update the Registered App permissions accordingly in Azure:

Carl__D_0-1655307843873.png

 

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

Users online (5,264)