I have an azure function app with Microsoft AD authentication enabled. I have configured Azure data factory pipeline to access an anonymous function through Azure function linked service.
I want to use Managed identity authentication from data factory to Azure function. I have added data factory managed identity to a role in Azure function AD application.
What should be 'Resource ID' value while creating Azure function linked service in data factory for managed identity access?
I tried giving the value 'api://<ADApplicationID>' and resource id (/subscription/xxxx/reourcegroup/xxx/provider/xx....', but both didnt work, which keeps throwing a 401 Unauthorized error.
The same works by hitting the azure function URL with Web activity in ADF pipeline with managed identity authentication without any issues.



