What is the status and roadmap of 'for Receiving all Channel Messages with RSC using Teams Bot API?

Anand P 1 Reputation point

Objective: Subscribe a listener application to receive all ‘chat message’ events in the team/ channel for which the subscription has been created (or renewed).
We would like to request team owners to consent for a bot to receive user messages across standard channels in a team without being @mentioned, using resource-specific consent (RSC) permissions model.

Challenge we are facing:
The documentation suggests that this feature is in public developer preview only. However even this seems to have been withdrawn and it’s not clear whether this option is recommended by MS Teams and whether it works. We have not been able to get this option working, as it throws a schema validation error because of the absence of applicationPermissions key.

From devPreview, it appears that the required key of applicationPermissions has recently been removed:

Our Teams Bot App needs to read ALL Team chat messages for Team channels that have installed the app (& provided consent), analyze the content and accordingly respond (privately) to the message sender.

What is the roadmap for 'Receiving all Channel Messages with RSC' using the Teams Bot API?   
Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
9,414 questions
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.
2,979 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Prithvi-MSFT 271 Reputation points Microsoft Vendor

    Hi @Anand P ,
    We tried to chat level RSC and it worked for us. You can refer below document for more details.
    https://learn.microsoft.com/en-us/microsoftteams/platform/bots/how-to/conversations/channel-messages-with-rsc. Can you confirm is developer preview is on when you are testing

    We tried with below sample code and manifest. You can refer it

    While uploading the above manifest there was no error.

    Also make sure you have added a valid redirect url in your azure app registration with access and id tokens checked.


    1 person found this answer helpful.

  2. Ramjot Singh 861 Reputation points Microsoft Employee

    Resource Specific Consent is very much supported. Infact support for RSC in teams is GA, only chat level RSC is in developer preview. Please follow https://learn.microsoft.com/en-us/microsoftteams/platform/graph-api/rsc/resource-specific-consent to setup your app.