I have enabled System Assigned managed identity to my API management.
I want my backend Azure function authenticate the request from API management using its managed identity.
Also added inbound policy for API in API management as 'authentication-managed-identity' with function app app id as below.
<authentication-managed-identity resource="api://xxxxx-xx-xxx" />
Backend function app(v3) is using .Net Core. I have enabled Microsoft identity provider in 'Authentication' section of Azure Function.
But still getting below error while performing 'Test/Run' from Azure portal for this function app and also from API management:
Yo do not have permission to view this directory or page.
Could you please help with proper documentation with example for this scenario.