Forum Discussion

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

ChannelMessage permission is not working in manifest version 1.12.

In manifest version 1.11 , added the permission for Channel message in webApplicationInfo

"webApplicationInfo": {
"id": "appID",
"resource": "https://AnyString",
"applicationPermissions": [
"ChannelMessage.Read.Group"
]
}

Once after switching to version 1.12 , we have changed the config to

"webApplicationInfo": {
"id": "appID",
"resource": "https://AnyString"
},
"authorization": {
"permissions": {
"resourceSpecific": [
{
"type": "Application",
"name": "ChannelMessage.Read.Group"
}
]
}

but events are not triggering anymore

5 Replies

    • Lakshmi_145's avatar
      Lakshmi_145
      Iron Contributor

      Prasad_Das-MSFT 

       

      We have tried the below Config by changing Version to 1.12 and adding the permission for Channel Message.

       

       

      {
      "$schema": "https://developer.microsoft.com/en-us/json-schemas/teams/v1.12/MicrosoftTeams.schema.json",
      "manifestVersion": "1.12",
      "version": "[MS_TEAMS_APP_BUILD_NUMBER]",
      "id": "[MS_TEAMS_APP_ID]",
      "developer": {
      "name": "[NAME]",
      "websiteUrl": "[URL]",
      "privacyUrl": "[PRIVACY_URL]",
      "termsOfUseUrl": "[TOS_URL]"
      },
      "name": {
      "short": "[MS_TEAMS_APP_NAME]"
      },
      "description": {
      "short": "Teams",
      "full": "[MS_TEAMS_APP_LONG_DESC]"
      },
      "icons": {
      "color": "color.png",
      "outline": "outline.png"
      },
      "accentColor": "#FFFFFF",
      "bots": [
      {
      "botId": "[MS_BOT_ID]",
      "scopes": ["groupchat"],
      "isNotificationOnly": false
      }
      ],
      "webApplicationInfo": {
      "id": "[MS_BOT_ID]",
      "resource": "https://RscPermission"
      },
      "configurableTabs": [
      {
      "configurationUrl": "[CLIENT_BASE_URL]/config",
      "scopes": ["groupchat"],
      "context": [
      "meetingSidePanel",
      "meetingStage",
      "meetingChatTab",
      "meetingDetailsTab"
      ]
      }
      ],
      "authorization": {
      "permissions": {
      "resourceSpecific": [
      {
      "type": "Application",
      "name": "ChannelMessage.Read.Group"
      }
      ]
      }
      }
      }

       

Resources