cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Post adaptive card to private channel

I am trying to use a scheduled flow to remind members of a private channel to have a virtual coffee meeting together. I am using a flow that works for another team with a public channel. But here it doesn't seem to work.

 

If I try to use the action "post adaptive card to the channel" I get: BotNotInConversationRoster

 

I am only a member of the private channel. I added a flow tap to the channel but I don't seem to be able to give the flow bot access to the private channel. I am the only owner of the flow.

 

 

 

2 ACCEPTED SOLUTIONS

Accepted Solutions
efialttes
Community Champion
Community Champion

@Anonymous 

I had exactly the same problem some time ago. Unfortunately, Private Channels do not allow external bots to push messages by design. Actually I found this excelllent post from Laura Kokkarinen reporting this same issue:

 

https://laurakokkarinen.com/the-ultimate-guide-to-microsoft-teams-based-approvals/

 

Laura confirms that "...when selecting the team and the channel to send the adaptive card to, ensure the channel is not private. You can’t send an adaptive card as a Flow bot to a private channel. If you try to do that you’ll get an error:

Forbidden. The request failed. Error code: ‘BotRequestFailed’. Error Message: ‘Request to the Bot framework failed with error: ‘{“error”:{“code”:”BotNotInConversationRoster”,”message”:”The bot is not part of the conversation roster.”}}’.’.

The error most likely occurs because you can’t add the Flow bot app (or any other Teams app, for that matter) to a private channel..."

 

Laura opened a User Voice to Teams engineers, in case you wanna vote for it

https://microsoftteams.uservoice.com/forums/555103-public/suggestions/39394582-ability-to-add-the-flow-app-to-a-private-channel

 

Sorry for the bad news



Each time you click on any of our inspiring answers 'Thumb up' icon...
...an ewok scapes from the stormtroopers.

Be grateful, Thumbs up! Save the Galaxy for free!


Escribo sobre Power Automate en:
https://medium.com/anyone-can-automate/

Proud to be a Flownaut!



View solution in original post

Anonymous
Not applicable

My work-around so far is to send the adaptive card to each individual that is in the private teams channel. The only thing that you have to consider when doing that is that you cannot list multiple recipients in the action "post to user". So I used a array of email addresses and looped through them.

 

Screenshot 2020-09-25 at 10.40.54.png

 

 

View solution in original post

6 REPLIES 6
efialttes
Community Champion
Community Champion

@Anonymous 

I had exactly the same problem some time ago. Unfortunately, Private Channels do not allow external bots to push messages by design. Actually I found this excelllent post from Laura Kokkarinen reporting this same issue:

 

https://laurakokkarinen.com/the-ultimate-guide-to-microsoft-teams-based-approvals/

 

Laura confirms that "...when selecting the team and the channel to send the adaptive card to, ensure the channel is not private. You can’t send an adaptive card as a Flow bot to a private channel. If you try to do that you’ll get an error:

Forbidden. The request failed. Error code: ‘BotRequestFailed’. Error Message: ‘Request to the Bot framework failed with error: ‘{“error”:{“code”:”BotNotInConversationRoster”,”message”:”The bot is not part of the conversation roster.”}}’.’.

The error most likely occurs because you can’t add the Flow bot app (or any other Teams app, for that matter) to a private channel..."

 

Laura opened a User Voice to Teams engineers, in case you wanna vote for it

https://microsoftteams.uservoice.com/forums/555103-public/suggestions/39394582-ability-to-add-the-flow-app-to-a-private-channel

 

Sorry for the bad news



Each time you click on any of our inspiring answers 'Thumb up' icon...
...an ewok scapes from the stormtroopers.

Be grateful, Thumbs up! Save the Galaxy for free!


Escribo sobre Power Automate en:
https://medium.com/anyone-can-automate/

Proud to be a Flownaut!



yashkamdar
Solution Sage
Solution Sage

Hello Team,

 

You are facing this issue because that is by design. 

 

Currently you can go ahead and Post Adaptive cards to Public Channels but not to the Private Channels it is bound to give you an error.

 

Since you have faced this issue, I would request you to please vote for this feature in the User voice. Each vote counts and maybe this feature is picked up by the product team soon.

 

Vote here - https://powerusers.microsoft.com/t5/Power-Automate-Ideas/Post-Message-to-a-quot-Private-quot-Channel...

 

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

Anonymous
Not applicable

My work-around so far is to send the adaptive card to each individual that is in the private teams channel. The only thing that you have to consider when doing that is that you cannot list multiple recipients in the action "post to user". So I used a array of email addresses and looped through them.

 

Screenshot 2020-09-25 at 10.40.54.png

 

 

Thanx for sharing, @Anonymous !

Contributions like yours make this community great!



Each time you click on any of our inspiring answers 'Thumb up' icon...
...an ewok scapes from the stormtroopers.

Be grateful, Thumbs up! Save the Galaxy for free!


Escribo sobre Power Automate en:
https://medium.com/anyone-can-automate/

Proud to be a Flownaut!



This does not work. Any other ideas?

JADANL123
Advocate I
Advocate I

Above solution does unfortunately not work due multiple approvals can be submitted. Users will not know if other approvers already approved the request. HTTP action should be added to make this a usable solution. 

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 (3,665)