Bot validation failing on The bot is not responding to command Hi.

Gary Fail 20 Reputation points
2024-10-15T14:41:40.0533333+00:00

I am developing a Teams Bot and when I install it into Teams and type Hi it simply will echo that back to the user. It all works fine however when validating this in the Developer Portal it fails validation with the message "The bot is not responding to command Hi."

Am I misunderstanding something?

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,369 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Torsten Reidt 0 Reputation points
    2024-10-16T08:53:54.4066667+00:00

    This is actually not an answer to the question, but I have the same issue.

    The bot I developed acts like a chatBot (similar to chatGPT). It responds to all user messages in a 1:1 chat and if tagged with @BotName in a group chat. Here a screenshot of the error messages of the app validation:

    Screenshot from 2024-10-16 10-37-23

    If I side load the app to my Teams (tested with other users as well) the bot behaves as expected. Here the bot manifest:

    
    {
      "$schema": "https://developer.microsoft.com/en-us/json-schemas/teams/v1.17/MicrosoftTeams.schema.json",
      "version": "1.0.0",
      "manifestVersion": "1.17",
      "id": "xxx",
      "name": {
        "short": "BotName",
        "full": ""
      },
      "developer": {
        "name": "org",
        "mpnId": "",
        "websiteUrl": "https://org.com",
        "privacyUrl": "https://org/our-privacy-policy/",
        "termsOfUseUrl": "https://org/our-terms-of-use/"
      },
      "description": {
        "short": "xxx",
        "full": "xxx"
      },
      "icons": {
        "outline": "outline.png",
        "color": "color.png"
      },
      "accentColor": "#ffffff",
      "staticTabs": [
        {
          "entityId": "conversations",
          "scopes": [
            "personal"
          ]
        },
        {
          "entityId": "about",
          "scopes": [
            "personal"
          ]
        }
      ],
      "bots": [
        {
          "botId": "xxx",
          "scopes": [
            "team",
            "personal",
            "groupChat"
          ],
          "isNotificationOnly": false,
          "supportsCalling": true,
          "supportsVideo": false,
          "supportsFiles": true
        }
      ],
      "validDomains": [],
      "webApplicationInfo": {
        "id": "xxx",
        "resource": ""
      },
      "devicePermissions": [
        "notifications"
      ],
      "showLoadingIndicator": true,
      "defaultGroupCapability": {
        "team": "bot",
        "groupchat": "bot",
        "meetings": "bot"
      },
      "meetingExtensionDefinition": {
        "scenes": [],
        "supportsStreaming": true,
        "supportsAnonymousGuestUsers": true
      },
      "authorization": {
        "permissions": {
          "resourceSpecific": [
            {
              "name": "ChannelMessage.Read.Group",
              "type": "Application"
            },
            {
              "name": "ChannelMessage.Send.Group",
              "type": "Application"
            },
            {
              "name": "ChatMessage.Read.Chat",
              "type": "Application"
            },
            {
              "name": "ChatMessage.Send.Chat",
              "type": "Application"
            },
            {
              "name": "OnlineMeetingParticipant.Read.Chat",
              "type": "Application"
            },
            {
              "name": "ChannelMeeting.ReadBasic.Group",
              "type": "Application"
            },
            {
              "name": "Calls.JoinGroupCalls.Chat",
              "type": "Application"
            },
            {
              "name": "OnlineMeeting.ReadBasic.Chat",
              "type": "Application"
            },
            {
              "name": "ChatMember.Read.Chat",
              "type": "Application"
            },
            {
              "name": "OnlineMeetingActiveSpeaker.Read.Chat",
              "type": "Delegated"
            },
            {
              "name": "OnlineMeetingParticipant.Read.Chat",
              "type": "Delegated"
            },
            {
              "name": "ChannelMeetingActiveSpeaker.Read.Group",
              "type": "Delegated"
            }
          ]
        }
      },
      "supportedChannelTypes": [
        "sharedChannels",
        "privateChannels"
      ]
    }
    

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.