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.
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.
But when the Webhook run, this is the result: the RequestBody contains also the callbackUri passed from the ADF Pipeline.
$Query = $WebhookData.RequestBody
Write-Output "$Query"
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.