Forum Discussion
Resource-specific consent not showing up in permission grants
I've got an Azure app registration, and a Teams application with a manifest that specifies that ID in the
Missing role permissions on the request. API requires one of 'Channel.Create, Teamwork.Migrate.All, Group.ReadWrite.All, Directory.ReadWrite.All, Channel.Create.Group'. Roles on the request 'TeamsAppInstallation.ReadWriteSelfForTeam.All, Group.Selected, TeamsAppInstallation.ReadForTeam.All'. Resource specific consent grants on the request ''.
I would expect to be getting Channel.Create.Group as a resource-specific consent grant. How can I find out why this isn't happening? I've been https://learn.microsoft.com/en-us/microsoftteams/platform/graph-api/rsc/grant-resource-specific-consent#check-your-app-for-added-rsc-permissions-for-a-user but when I use the Graph Explorer to call https://graph.microsoft.com/beta/teams/{team-id}/permissionGrants for the team I installed the app into, I get back an empty array.
Hopefully someone can spot what I'm doing wrong.
5 Replies
- Meghana-MSFTFormer Employee
Apologies for the delay, could you please share below details -
- How did you install the app in the team?
- Share the response headers of both the installation call and the get permission grants call.
- dartvCopper Contributor
Meghana-MSFTany news on this? I'm having the same issue with "Missing role permissions on the request. API requires one of 'TeamsActivity.Send, TeamsActivity.Send.User'. Roles on the request ''. Resource specific consent grants on the request ''."
I updated the manifest to include the resource specific permissions and uploaded it. Installing the app shows the new version, but I still get the same error.
- Meghana-MSFTFormer EmployeeThank you for reporting this, we will check this and get back to you.
- samincCopper ContributorIs there any update on this at all?
- samincCopper Contributor
Meghana-MSFT Thanks for looking, I appreciate it!