I'm using the Power Automate Teams Send a Microsoft Graph HTTP request action with a URI of:
https://graph.microsoft.com/v1.0/teams/@{variables('varTeamId')}/channels/@{variables('varChannelId')}/tabs
which is failing with a Missing scope permissions error message (see below). I can't find any way to assign these permissions. When following Microsoft Learn topics, most lead to assigning permissions for the relevant App. But there's no App - this is a Power Automate Flow.
In Entra, I can see an Enterprise App for 'Power Apps and Flow' which might be appropriate, as well as Graph Explorer and Microsoft Graph Powershell which I think probably are not, but there is no way to assign permissions - the only available action is to Grant (previously requested?) permissions.
I've already lost hours on trying to figure this out - with no relevant documentation that I can find. Anyone have any ideas?
Error message: Missing scope permissions on the request. API requires one of 'TeamsTab.ReadWriteSelfForTeam, TeamsTab.Create, TeamsTab.ReadWriteForTeam, TeamsTab.ReadWrite.All, Group.ReadWrite.All, Directory.ReadWrite.All'. Scopes on the request 'Calendars.ReadWrite, Calendars.ReadWrite.Shared, Channel.Create, Channel.ReadBasic.All, ChannelMessage.Read.All, ChannelMessage.ReadWrite, ChannelMessage.Send, Chat.Create, Chat.Read, Chat.ReadWrite, ChatMessage.Send, GroupMember.Read.All, Presence.Read.All, Presence.ReadWrite, Team.Create, Team.ReadBasic.All, TeamMember.ReadWrite.All, TeamsAppInstallation.ReadWriteForChat, TeamsAppInstallation.ReadWriteForTeam, TeamsAppInstallation.ReadWriteForUser, TeamSettings.Read.All, TeamSettings.ReadWrite.All, TeamworkTag.Read, TeamworkTag.ReadWrite, User.Read, User.Read.All'