cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
AndyTuke1
Advocate I
Advocate I

Teams Approval into private channel

Having now got private channels, I am trying to get an approval flow running which uses a private admin channel for the team to manage approvals.  It works fine into a public channel, but as the Team is going to have many guest accounts I dont want them to see the approval cards as they are generated. 

When the step runs in flow I get an error

 
"Request to the Bot framework failed with error: '{\"error\":{\"code\":\"BotNotInConversationRoster\",\"message\":\"The bot is not part of the conversation roster.\"}}'."
Which to me says that the flowbot isn't a member of the private channel and so can't post to it, the connector is authenticated as my account which is a member of the channel.  Can anyone suggest a way round this, ie can I get the flowbot to authenticate as me?
1 ACCEPTED SOLUTION

Accepted Solutions

Hi @Gunjan09 

 

I don't think its possible.  There is a User Voice just started by someone else here ...

 

User Voice 

View solution in original post

7 REPLIES 7
v-bacao-msft
Community Support
Community Support

 

Hi @AndyTuke1 ,

 

Could you please provide the detailed configuration of the Flow?

 

Best Regards,

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

@v-bacao-msft 

 

Hi Barry,

 

Here's a Flow to demonstrate the issue

 

FlowPrivateChannelError.png

 

In the step "Post your own adaptive card as the Flow bot to a channel", if I select the public General channel it works fine.  Using a private channel gives the error

 

Request to the Bot framework failed with error: '{"error":{"code":"BotNotInConversationRoster","message":"The bot is not part of the conversation roster."}}'.

 

The bot obviously isnt a user I can add to the private channel, so even though the connection is made as my user account which is both a Team owner and a member of the private channel it doesnt work.  I have tried the 'Requestor' option without success as well

 

Andy

Gunjan09
New Member

Hi @AndyTuke1 ,

 

I have ran into the same problem. Have you found a solution or more information on why this error occurs?

 

Thanks,

Gunjan

Hi @Gunjan09 

 

I don't think its possible.  There is a User Voice just started by someone else here ...

 

User Voice 

View solution in original post

tasbswillhite
New Member

It is kind of pathetic that this is still a problem a year later...

I would really like to invest in using Teams / Flow more... but simply cant.

DamoBird365
Community Champion
Community Champion

Hi @tasbswillhite ,

 

I can confirm that this feature IS now available.  Having just tested this, whilst the feature is not available as the flow bot, you can post messages to private channels as a user who is an existing member of said private channel.  There are two working actions as follows:

 

DamoBird365_0-1615670542415.png

 

temas.PNG

 

Please note, if you attempt to send a message as the flow bot you will receive an error:

 

Request to the Bot framework failed with error: '{"error":{"code":"BotNotInConversationRoster","message":"The bot is not part of the conversation roster."}}'.

 

Have fun 😀


Cheers,
Damien


P.S. take a look at my new blog here

 

 

 

True that works, but not "Post an Adaptive Card to a Teams channel and wait for a response"

This type does not have "Post as" so you can pick "Flow bot" or User" as the other types of post to Teams channel. And seems to be the problem, as you point out.

Helpful resources

Announcements
MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MSFTBizAppsLaunchEvent

Experience what’s next for Power Virtual Agents

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

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Users online (34,964)