Reputation: 61483
I have an Azure Function that requires authentication. I'm calling it from a Logic App, but I'm unsure how to embed the required authentication key in the logic designer.
How do I make an authenticated call from a Logic App to an Azure function?
Upvotes: 0
Views: 601
Reputation: 72191
So I was just using this url for the function integration:
"uri": "https://%name%.azurewebsites.net/api/%route%?code=YOUR_SECRET_GOES_HERE"
where %name% and %route% are placeholders for your actual values and obviously YOUR_SECRET_GOES_HERE
is a placeholder for your secret
Upvotes: 1
Reputation: 43203
One known issue is that Logic Apps don't work with Function Apps that have slots enabled.
If you're in that situation, delete the Azure App Setting called AzureWebJobsSecretStorageType
(which will be set the Blob
), and stop using slots.
This is tracked by https://github.com/Azure/azure-webjobs-sdk-script/issues/1752.
Upvotes: 1