Forum Discussion

Lakshmi_145's avatar
Lakshmi_145
Iron Contributor
Jul 13, 2024
Solved

RSC permission for sending message is not working

We have enabled bots to receive all channel or chat messages. Enabled 'ChannelMessage.Read.Group' permission in manifest file as below and it is working without mentioning the bot name     "$sche...
  • Dinesh-MSFT's avatar
    Dinesh-MSFT
    Jul 24, 2024

    Hi Lakshmi_145, Sorry for the delay in the response. It sounds like you're dealing with an intermittent issue where the ChannelMessage.Read.Group permission is not consistently working across different tenants. Here are some potential causes and steps to address the issue:

    The issue might be related to specific policies at the tenant organization level. Ensure that the necessary permissions are granted and that there are no conflicting policies that might be affecting the bot's functionality. Teams admins might need to provide consent for the ChannelMessage.Read.Group permission. This can be done through the Azure AD portal by navigating to App registrations > Your app > API permissions and ensuring that the required permissions are granted. Double-check the manifest file to ensure that it is correctly configured. Any errors or omissions in the manifest file could cause issues with the bot's permissions. Sometimes, changes to app permissions can take time to propagate. If the issue persists, it might be worth waiting a bit longer or re-uploading the manifest file again. For more details, please refer to the official Microsoft documentation for more details on configuring and troubleshooting RSC permissions: Get All Conversation Messages with RSC - Teams | Microsoft Learn.

Resources