Forum Discussion
Anyone able to use Get Model API with Power Platform custom connector?
- 1 year ago
Hi arpost,
Thank you for your follow-up.
When using the HTTP with Azure AD action in Power Automate, pre-authorization is managed automatically through client credentials. You only need to configure the action with the appropriate Azure AD details, and Power Automate will handle token acquisition seamlessly in the background.
If you find our response helpful, kindly consider marking it as the accepted solution and providing kudos. This will greatly assist other members of the community who may have similar queries.
Should you have any further questions, please feel free to reach out to the Microsoft Fabric community.
Thank you.
Hi arpost ,
That error usually means the token being used doesn’t have the right scopes, even if the app registration looks good. Since you're using a custom connector, make sure the connector is actually requesting the scopes you’ve granted in Azure AD. Sometimes the issue is not with the app registration itself, but with how the token is being acquired.
Also, double-check if you're using delegated permissions — those require a signed-in user context. If you're using a service principal (which it looks like you are), you’ll need application permissions instead. Delegated ones won’t work in that case.
Let me know if you’re using OAuth 2.0 in the connector setup and what grant type you’ve selected — that might help narrow it down.
If my response resolved your query, kindly mark it as the Accepted Solution to assist others. Additionally, I would be grateful for a 'Kudos' if you found my response helpful.
burakkaragoz, can you clarify what you mean by "actually requesting the scopes you've granted"? Do you mean adding each scope to the Scope section in the Security tab?