Forum Discussion

muditsaxena's avatar
muditsaxena
Copper Contributor
Jun 14, 2022

Bot unable to receive start and end meeting events for app published in organization

 

Hi, 

 

We recently integrated Azure Bot into our Teams App to receive meeting start and end events. When we side load this app on Teams we can receive meeting start and end events. When the same app is published to org and added to a meeting then this app cannot receive the meeting start and end events. This is how our current manifest looks 

 

 

{
  "$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": "OnlineMeeting.ReadBasic.Chat"
        },
        {
          "type": "Delegated",
          "name": "MeetingStage.Write.Chat"
        }
      ]
    }
  }
}

 

 

  • muditsaxena - We are able to repro this issue. We have raised a bug for the same and engineering team is looking into it. We will inform you once we get any further update. Thanks!

    • sanyamjain-20's avatar
      sanyamjain-20
      Copper Contributor
      Prasad_Das-MSFT could you kindly share the steps performed to repro this issue?
      want to make sure it's a platform bug (which would be a P0 bug) and not a configuration issue.
      • Prasad_Das-MSFT's avatar
        Prasad_Das-MSFT
        Icon for Microsoft rankMicrosoft

        sanyamjain-20 

        Followed below sample: 

        Microsoft-Teams-Samples/samples/meetings-events/nodejs at main ยท OfficeDev/Microsoft-Teams-Samples (github.com)

        1. Setup the code locally then Sideload the app in MS Teams, then add the app to any meeting
          - You will get Meeting Start and End events
        2. Upload the app to 'Org' catalogue, then add the app to any meeting
          -You will not get Meeting Start and End events

          Manifest  JSON:
          {
            "$schema": "https://developer.microsoft.com/en-us/json-schemas/teams/v1.12/MicrosoftTeams.schema.json",
            "manifestVersion": "1.12",
            "version": "1.0.0",
            "id": "f63a1b3f-5218-4b7b-98d8-1bbb6ed62b67",
            "packageName": "com.microsoft.teams.botmeetingevents",
            "developer": {
              "name": "Microsoft",
              "websiteUrl": "https://www.microsoft.com",
              "privacyUrl": "https://www.microsoft.com/privacy",
              "termsOfUseUrl": "https://www.microsoft.com/termsofuse"
            },
            "name": {
              "short": "Meeting Events",
              "full": "Sample for meeting events"
            },
            "description": {
              "short": "Access real-time meeting events",
              "full": "This sample demos a bot with access to meeting events"
            },
            "icons": {
              "outline": "outline.png",
              "color": "color.png"
            },
            "bots": [
              {
                "botId": "448ec85c-4395-4f80-b5a1-cd3bdefd1f5b",
                "scopes": [
                  "team",
                  "personal",
                  "groupchat"
                ],
                "isNotificationOnly": false
              }
            ],
            "accentColor": "#60A18E",
            "permissions": [ "identity", "messageTeamMembers" ],
            "validDomains": [
              "*.ngrok.io",
              "token.botframework.com"
            ],
          "webApplicationInfo": {
              "id": "448ec85c-4395-4f80-b5a1-cd3bdefd1f5b",
              "resource": "https://AnyString"
            },
            "authorization": {
              "permissions": {
                "resourceSpecific": [
                  {
                    "type": "Application",
                    "name": "OnlineMeeting.ReadBasic.Chat"
                  }
                ]
              }
            }
          }
    • muditsaxena's avatar
      muditsaxena
      Copper Contributor
      Any ETA on when we can expect a fix for this issue? This is a blocker for us as we are not able to move forward on this as we have to submit our app package to a client org app catalogue
      • Prasad_Das-MSFT's avatar
        Prasad_Das-MSFT
        Icon for Microsoft rankMicrosoft

        muditsaxena - We have brought this to notice of engineering team . There is no ETA to share as of now. We will keep you posted about any updates. Thanks!

Resources