0

I've just created an ADF pipeline that allow me to refresh different partition of an Analysis Services Model (PBI XMLA) using a json script that I have to pass as parameter to my Webhook.

ADF Pipelines layout

In the lookup I retrieve the partition to refresh and inside the for each I'm able to create the json query. Once I pass the query as RequestBody parameter when the webhook read it, it recognize also the callback uri as the RequestBody. The parameter pass as input of Webhooks is the Json Query i need to run

But when the Webhook run, this is the result: the RequestBody contains also the callbackUri passed from the ADF Pipeline. Webhook Input Parameters with callbackUri

$Query = $WebhookData.RequestBody
Write-Output "$Query"

AzureAutomation Output

How can I solve this issue? Thank you!

If i use the Web Activity everything work in the right way since I haven't the callbackUri inside the body of my parameters.

ray
  • 11,310
  • 7
  • 18
  • 42
  • Check if these docs help [Start an Azure Automation runbook from a webhook](https://github.com/MicrosoftDocs/azure-docs/blob/main/articles/automation/automation-webhooks.md) [control-flow-webhook-activity](https://github.com/MicrosoftDocs/azure-docs/blob/main/articles/data-factory/control-flow-webhook-activity.md) – Naveen Sharma Mar 07 '23 at 06:47

0 Answers0