Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
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 instance.
What is the best approach to trigger a Power BI dataset refresh from ADF in this cross-tenant setup? Are there any specific configuration steps, permissions, or service principals that need to be considered for this integration to work securely and effectively?
Any guidance or examples would be greatly appreciated!
Solved! Go to Solution.
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
Please refer to the below link :
Note : Even if the Dataset is in another tenant as ADF, you can have the service principal created in the tenant within the Dataset and leverage it within ADF
Hello Nandan,
Thank you for your response! I understand that Service Principals are typically used for authentication, but unfortunately, I am unable to use a Service Principal in my scenario.
Since I cannot use a Service Principal, could you please provide guidance on how I can use a service account (or another approach) to trigger a Power BI dataset refresh when the dataset resides in a different tenant?
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
User | Count |
---|---|
8 | |
7 | |
2 | |
2 | |
2 |
User | Count |
---|---|
6 | |
5 | |
4 | |
4 | |
4 |