Teams Bot App fails to be added to a Chat Group or a Meeting Chat, but works on Teams or Private Chat

Sofia 5 Reputation points
2024-04-25T06:54:01.77+00:00

Teams Bot App fails to be added to a Chat Group or a Meeting Chat, but works on Teams or Private Chat, manifest below.

I do have the Teams Channel enabled on the Azure side of things, as proven by the functionality that works already.

Where should I start debugging? Are there any logs that'd indicate why the adding of the Bot fails?

{
  "$schema": "https://developer.microsoft.com/en-us/json-schemas/teams/v1.16/MicrosoftTeams.schema.json",
  "version": "1.0.0",
  "manifestVersion": "1.16",
  "id": "[REDACTED]",
  "packageName": "com.package.name",
  "name": {
    "short": "Test",
    "full": ""
  },
  "developer": {
    "name": "Test",
    "mpnId": "",
    "websiteUrl": "[REDACTED]",
    "privacyUrl": "[REDACTED]",
    "termsOfUseUrl": "[REDACTED]"
  },
  "description": {
    "short": "testing",
    "full": "testing the test"
  },
  "icons": {
    "outline": "outline.png",
    "color": "color.png"
  },
  "accentColor": "#FFFFFF",
  "bots": [
    {
      "botId": "[REDACTED]",
      "scopes": [
        "personal",
        "team",
        "groupChat"
      ],
      "isNotificationOnly": false,
      "supportsCalling": false,
      "supportsVideo": false,
      "supportsFiles": false
    }
  ],
  "validDomains": [
    "[REDACTED]"
  ],
  "webApplicationInfo": {
    "id": "[REDACTED]",
    "resource": ""
  },
  "defaultGroupCapability": {
    "team": "bot",
    "groupchat": "bot",
    "meetings": "bot"
  },
  "configurableProperties": [
    "name",
    "shortDescription",
    "longDescription",
    "smallImageUrl",
    "largeImageUrl",
    "accentColor",
    "developerUrl",
    "privacyUrl",
    "termsOfUseUrl"
  ],
  "authorization": {
    "permissions": {
      "resourceSpecific": [
        {
          "name": "ChannelMessage.Read.Group",
          "type": "Application"
        },
        {
          "name": "ChannelMessage.Send.Group",
          "type": "Application"
        },
        {
          "name": "ChannelSettings.Read.Group",
          "type": "Application"
        },
        {
          "name": "ChatSettings.Read.Chat",
          "type": "Application"
        },
        {
          "name": "OnlineMeeting.ReadBasic.Chat",
          "type": "Application"
        },
        {
          "name": "OnlineMeetingNotification.Send.Chat",
          "type": "Application"
        },
        {
          "name": "TeamsActivity.Send.Chat",
          "type": "Application"
        },
        {
          "name": "ChatMessage.Read.Chat",
          "type": "Application"
        },
        {
          "name": "ChatMessage.Send.Chat",
          "type": "Application"
        },
        {
          "name": "TeamsActivity.Send.User",
          "type": "Application"
        }
      ]
    }
  },
  "supportedChannelTypes": [
    "sharedChannels",
    "privateChannels"
  ]
}
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,341 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Sofia 5 Reputation points
    2024-07-25T12:54:28.6433333+00:00

    I hate to close this like this, but it just randomly worked today with no changes.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.