updating app manifest to connect teams notification bot

Tami Huckfeldt 0 Reputation points
2023-06-28T19:58:21.8266667+00:00

Unable to update a registered app manifest with schema for a teams notification bot

Microsoft Teams | Development
{count} votes

1 answer

Sort by: Most helpful
  1. Prasad-MSFT 9,061 Reputation points Microsoft External Staff Moderator
    2023-07-04T05:35:34.9666667+00:00

    It looks like you're editing the wrong manifest. Are you editing the manifest found in Azure Portal?

    Could you pleases build a manifest for your Teams Bot?
    App manifest schema for Teams

    {
      "$schema": "https://developer.microsoft.com/json-schemas/teams/v1.7/MicrosoftTeams.schema.json",
      "manifestVersion": "1.7",
      "version": "1.0.0",
      "id": "<myAppId>",
      "packageName": "com.notification.bot",
      "localizationInfo": {
        "defaultLanguageTag": "en-us",
        "additionalLanguages": [
        ]
      },
      "developer": {
        "name": "My Name",
        "websiteUrl": "https://dev.botframework.com/",
        "privacyUrl": "https://aka.ms/bf-privacy",
        "termsOfUseUrl": "https://aka.ms/bf-terms",
        "mpnId": "<random ID>"
      },
      "name": {
        "short": "Notification Bot",
        "full": "GitHub Issue Notification Bot"
      },
      "description": {
        "short": "GitHub Issue Notification Bot",
        "full": "GitHub Issue Notification Bot"
      },
      "icons": {
        "outline": "outline.png",
        "color": "color.png"
      },
      "accentColor": "#fc4103",
      "configurableTabs": [
      ],
      "staticTabs": [
      ],
      "bots": [
        {
          "botId": "<myAppId>",
          "scopes": [
            "team",
            "personal",
            "groupchat"
          ],
          "needsChannelSelector": false,
          "isNotificationOnly": false,
          "supportsFiles": false,
          "commandLists": [
          ]
        }
      ],
      "connectors": [
      ],
      "composeExtensions": [
      ],
      "permissions": [
        "identity",
        "messageTeamMembers"
      ],
      "devicePermissions": [
      ],
      "validDomains": [
        "token.botframework.com"
      ],
      "showLoadingIndicator": false,
      "activities": {
      }
    }
    
    
    

    Create a zip package having these 3 files:

    1. The manifest.json you created above
    2. A colored, 192x192 icon
    3. A white and transparent 32x32 icon

    Ref: https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/bot-conversation/csharp/TeamsAppManifest
    and upload to MS Teams.
    https://learn.microsoft.com/en-us/microsoftteams/platform/concepts/deploy-and-publish/apps-upload

    Thanks, 

    Prasad Das

    ************************************************************************* 

    If the response is helpful, please click "Accept Answer" and upvote it. You can share your feedback via Microsoft Teams Developer Feedback link.

    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.