Search code examples
azurepowerbiazure-data-factorypowerbi-desktop

PowerBI Refresh Through Azure Data Factory using API


I have developed a Pipeline according to the post https://www.moderndata.ai/2019/05/powerbi-dataset-refresh-using-adf/#comment-2610

However I keep getting an error "Invoking Web Activity failed with HttpStatusCode - 'Unauthorized', message - '' in the CALL DATASET REFRESH WEB ACTIVITY.


Solution

  • You are getting below error

    "Invoking Web Activity failed with HttpStatusCode - 'Unauthorized', message - '' in the CALL DATASET REFRESH WEB ACTIVITY.

    Because you don’t have permission to access PowerBI.

    Please check permissions to access PowerBI.

    You can also follow this article for Refreshing a Power BI Dataset in Azure Data Factory