I have created an Azure Function App and I can call it from browser with a URL similar to this:
https://myfunctionblahblh.appserviceenvironment.net/api/names/Peter/TGIF?code=my_function_app_key_Goes_Here
Now I want to call it from my ADF pipeline: So I dropped a Web activity and set it up like this so far:
So my question is what is the "Resource" that it is asking for? Also in the URL that for company reasons I have blacked out, imagine I have copied the URL of the function I pasted above, is that correct ?
CodePudding user response:
The Resource
field is where you specify the uri for the service that you want to send the token to. In the case of authenticating with managed identities, you will want to send it to "https://management.azure.com/". However, if your function is already authenticating with the "code" query string parameter, you may be able to set the Authentication
field to "None".