Forum Discussion
muditsaxena
Jun 22, 2022Copper Contributor
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"
}
]
}
}
}
- Prasad_Das-MSFTMicrosoft
muditsaxena - Does the user has been granted required permissions?
Could you please refer this?resourceSpecificPermissionGrant resource type - Microsoft Graph v1.0 | Microsoft Docs
Enable resource-specific consent in Teams - Teams | Microsoft Docs- Prasad_Das-MSFTMicrosoftCould you please confirm if your issue is resolved or are you still looking for any help?