Forum Discussion

Vishnuvardhana's avatar
Vishnuvardhana
New Member
1 year ago
Solved

Refreshing Power BI Dataset from Azure Data Factory with Cross-Tenant Configuration

I'm trying to set up a data pipeline in Azure Data Factory (ADF) to refresh a Power BI dataset. The challenge I'm facing is that the Power BI workspace is in a different tenant ID than the ADF instan...
  • NandanHegde's avatar
    NandanHegde
    1 year ago

    Ideally leveraging a service account without MFA to generate OAUTh token is not a good security practice.

    You can create an Azure function within the tenant in which the Power BI dataset is present, grant access to the Azure function in the workspace and write code within Az function to generate OAUTh token.

     

    Then trigger the Azfunction via ADF and pass the OAUth toke into web activity for power bi dataset refresh etc