Type of issue
Missing information
Feedback
If the bot app is created using User assigned managed identity and if we use the same in webApplicationInfo section for RSC permissions, app installation might lead to following error: Failed to execute TeamsGraphService backend request IsUserAuthorizedToGrantPersonalScopeResourceSpecificPermissionsRequestV2.
RSC permissions are mapped against this webApplicationInfo property, which in turn, in Azure, is mapped to an App Registration (Entra App Id). For Manage Identity bots, the App Registration needed for this is not automatically created. They would need to create a new AppRegistration, assigned the required permissions to it and use that id (Application (client) ID) in the webApplicationInfo in the manifest.
Please mention the same in documentation.
Page URL
https://learn.microsoft.com/en-us/microsoftteams/platform/bots/how-to/authentication/bot-sso-overview?tabs=personal&source=docs
Content source URL
https://github.com/MicrosoftDocs/msteams-docs/blob/main/msteams-platform/bots/how-to/authentication/bot-sso-overview.md
Author
@vikasalmal0201
Document Id
34429d15-0e10-655c-fa2c-c434a8a460a6
Platform Id
64abf851-0f0d-7447-a501-de3a52ae8315
Type of issue
Missing information
Feedback
If the bot app is created using User assigned managed identity and if we use the same in webApplicationInfo section for RSC permissions, app installation might lead to following error: Failed to execute TeamsGraphService backend request IsUserAuthorizedToGrantPersonalScopeResourceSpecificPermissionsRequestV2.
RSC permissions are mapped against this webApplicationInfo property, which in turn, in Azure, is mapped to an App Registration (Entra App Id). For Manage Identity bots, the App Registration needed for this is not automatically created. They would need to create a new AppRegistration, assigned the required permissions to it and use that id (Application (client) ID) in the webApplicationInfo in the manifest.
Please mention the same in documentation.
Page URL
https://learn.microsoft.com/en-us/microsoftteams/platform/bots/how-to/authentication/bot-sso-overview?tabs=personal&source=docs
Content source URL
https://github.com/MicrosoftDocs/msteams-docs/blob/main/msteams-platform/bots/how-to/authentication/bot-sso-overview.md
Author
@vikasalmal0201
Document Id
34429d15-0e10-655c-fa2c-c434a8a460a6
Platform Id
64abf851-0f0d-7447-a501-de3a52ae8315