Response with a BOT to all message in a teams channel

Tanguy Boyard-Hebting 1 Reputation point
2021-10-07T16:52:47.337+00:00

Hello,

We are currently trying to implement a Teams BOT and we try to make him respond to any message in a channel, like a group channel in a team and without being mentionned. We have seen that it was possible with "channel messages with rsc" available in public developer preview currently. We followed the documentation but it didn't work : https://learn.microsoft.com/en-us/microsoftteams/platform/bots/how-to/conversations/channel-messages-with-rsc

The BOT respond perfectly when it is ping, like it should but when we don't mention the bot we don't see any reply nor any log in our code.

We already tried to fix it by looking at the bot configuration and settings with the correct permissions in the manifest file and log every part of the code.

We've also seen that the question has already been asked but even if follow the answers it doesn't work for us: https://learn.microsoft.com/en-us/answers/questions/539475/what-is-the-status-and-roadmap-of-39for-receiving.html

There is also the fact that when we try to add "applicationPermission" in the manifest in version "devPreview" we got a warning telling us that "applicationPermission is not allowed".

We have seen incoherence between documentation too:
https://raw.githubusercontent.com/OfficeDev/microsoft-teams-app-schema/preview/DevPreview/MicrosoftTeams.schema.json
https://learn.microsoft.com/en-us/microsoftteams/platform/resources/schema/manifest-schema-dev-preview#sample-full-manifest

Furthermore, we have seen that the "applicationPermission" is always override when we run the app. We even tried to upload the manifest directly in teams.

Does anyone have an idea of where the problem can come ?

Microsoft Teams Development
Microsoft Teams Development
Microsoft Teams: A Microsoft customizable chat-based workspace.Development: The process of researching, productizing, and refining new or existing technologies.
3,053 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Meghana-MSFT 3,846 Reputation points Microsoft Vendor
    2021-10-19T06:04:58.777+00:00

    @Tanguy Boyard-Hebting - We discussed this internally. The bot responds to the messages even without mentioning the bot. Please make sure developer preview mode is on while testing your app.

    Please check if RSC permission is enabled for the teams using - Check your app for added RSC permissions

    Thanks,
    Meghana


    If the response is helpful, please click "Accept Answer" and upvote it. You can share your feedback via Microsoft Teams Developer Feedback link. Click here to escalate.

    2 people found this answer helpful.