Trigger PowerBI Dataset via webhook activity

Priya Jha 896 Reputation points
2022-09-20T12:59:13.797+00:00

Hi All,

Is it possible to trigger PowerBI Dataset refresh via WebHook activity rather than normal Web Activity.

We are thinking of using WebHook activity as we need to get the status of Dataset refresh from the same activity which is not possible using normal Web Activity.

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
11,624 questions
0 comments No comments
{count} votes

Accepted answer
  1. ShaikMaheer-MSFT 38,546 Reputation points Microsoft Employee Moderator
    2022-09-22T07:13:44.737+00:00

    Hi @Priya Jha ,

    Thank you for posting query in Microsoft Q&A Platform.

    Webhook activity passes additional property callBackUri in the body sent to the URL endpoint. And then Webhook activity expects this URI to be invoked before the specified timeout value. Click here to know more about webhook activity.

    From above statement its clear that the Endpoint should have a logic implemented to invoke webhook activity callBackUrl.

    In your case end point is PowerBI dataset refresh API, So we cannot directly control logic inside that API to invoke callBackUrl. Hence you cannot use webhook activity in this case.

    We should consider using web activities only to initiate refresh and also to check status of PBI dataset.

    You can also consider using Logic apps or writing your own code in Azure Functions too. But I feel using web activities will be easy and best option.

    Hope this helps. Please let me know if any further queries.

    --------------

    Please consider hitting Accept Answer button. Accepted answers helps community as well.

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.