Reputation: 1
Details of the Error: Get access token from MSI failed for Datafactory XXXX, region XXXX. Please verify resource url is valid and retry. Details: Accquire MI token from MI store V1 failed.
Error Code: 2403
Failure type: User Configuration issue
used web activity in Azure Data Factory to access Azure function app using MSI
Upvotes: 0
Views: 5817
Reputation: 31
I also had these kind of issues and it took me some time to figure out the right resource ID for the token I needed. First of all the "Web-Activity" in ADF or Azure Synapse can be used for performing Azure REST-API calls quite good.
But we have to understand that "access token" is not always the same "access token". Azure AD provides different access token depending on the resource provider you want to access. Here is a list of Resource IDs you can use:
Unfortunately it doesn't seem up to date, as I'm using in my case for https://dev.azuresynapse.net
(which is not listed on the docs yet).
Upvotes: 3
Reputation: 8660
As an alternative, there is Azure Function activity in Azure Data Factory. You can try that.https://learn.microsoft.com/en-us/azure/data-factory/control-flow-azure-function-activity
Upvotes: 0