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 Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Users online (4,297)