Forum Discussion

Anuj_Pratap_Singh_0210's avatar
Anuj_Pratap_Singh_0210
Copper Contributor
Jan 31, 2023

Can't access bot inside shared channel

I've built an application for the Microsoft Teams app and published it in my organization using the Developer portal.
I want to access the bot inside a team's shared channel but cannot do so. I've also provided "sharedChannels" inside the supportedChannelTypes property in the manifest but still, it isn't working.

The manifest of my application looks somewhat like this:

 

 

{
  "$schema": "https://developer.microsoft.com/en-us/json-schemas/teams/v1.15/MicrosoftTeams.schema.json",
  "version": "1.0.1",
  "manifestVersion": "1.15",
  "id": "10d58ca5-e2fd-4bb0-b488-ec31a1e071e5",
  "packageName": "Bot",
  "name": {
    "short": "Bot",
    "full": "Application"
  },
  "developer": {
    "name": "Organization",
    "websiteUrl": "https://example.com/",
    "privacyUrl": "https://example.com/privacy",
    "termsOfUseUrl": "https://example.com/termsofuse"
  },
  "description": {
    "short": "Test application",
    "full": "Test application."
  },
  "icons": {
    "outline": "outline.png",
    "color": "color.png"
  },
  "accentColor": "#60A18E",
  "configurableTabs": [
    {
      "configurationUrl": "https://test.com/configure",
      "canUpdateConfiguration": true,
      "scopes": [
        "team"
      ]
    }
  ],
  "bots": [
    {
      "botId": "bot-id",
      "scopes": [
        "groupchat",
        "team",
        "groupChat"
      ],
      "commandLists": [
        {
          "commands": [
            {
              "title": "register",
              "description": "register"
            }
          ],
          "scopes": [
            "team"
          ]
        }
      ],
      "isNotificationOnly": false,
      "supportsCalling": false,
      "supportsVideo": false,
      "supportsFiles": false
    }
  ],
  "validDomains": [
    "test.com"
  ],
  "defaultGroupCapability": {
    "team": "bot",
    "groupchat": "bot",
    "meetings": "bot"
  },
  "authorization": {
    "permissions": {
      "orgWide": [],
      "resourceSpecific": []
    }
  },
  "supportedChannelTypes": [
    "sharedChannels",
    "privateChannels"
  ]
}

 

 

 

 

 

 



Resources