Forum Discussion

muditsaxena's avatar
muditsaxena
Copper Contributor
Jun 22, 2022

Unable to sideload custom app

While uploading my custom Teams App for testing, I get this error 

 

 

CDL: {"errorCode":"Error","requestId":"m-4","hostRendererId":"5e3ce6c0-2b1f-4285-8d4b-75ee78787346","component":"RequestHandler","requestWindowId":"main","operationType":"mutation","operationName":"installSideLoadApp","message":"error while processing m-4: {\"name\":\"Error\",\"message\":\"Unexpected error value: { message: \\\"\\\", status: 401, errorCode: \\\"UserNotAuthorizedToGrantResourceSpecificPermissions\\\" }\",\"stack\":[]} (reason: undefined)"}

 

 

App Manifest 

 

{
  "$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"
        }
      ]
    }
  }
}

Resources