Need help with API scope permissions configuration

radoslavov 1 Reputation point
2022-09-05T12:40:52.99+00:00

Hi all, i'm having a Azure app registration connected to graph API. I have all Graph API endpoint permission configured (I'm using application permission instead of delegated as there are some restrictions if using delegated permissions).
I'm using this application in Power Automate inside a custom connector to create Microsoft Teams upon the user's request. When I start the Flow I receive the following error message:

Missing scope permissions on the request. API requires one of 'Team.Create, Group.ReadWrite.All, Directory.ReadWrite.All'. Scopes on the request '.5a3ef3d3-c5d8-49ea-9787-9d621eb31257'

237829-image.png

237833-image.png

The permissions mentioned in the error message are added to the API permission of Graph, so I'm guessing I'm missing something else, I probably need to add them in another place, but until now I've been using only delegated permissions, so I've never had this error before.

237834-image.png

Microsoft Security Microsoft Graph
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.