Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hi,
Did anyone tried refresh gen2 dataflows using Power BI Rest API's. I am trying to refresh gen dataflow from ADF using Power BI Rest API's with spn authentication, but uinable to do and it says spnbasedauth not allowed.
if anyone has tried it earlier, please help
Solved! Go to Solution.
Hi @vamshikrishna20 ,
https://login.microsoftonline.com/{tenant}/oauth2/v2.0/tokenPOST https://api.powerbi.com/v1.0/myorg/dataflows/{dataflowId}/refreshesReference:
Dataflows - Refresh Dataflow - REST API (Power BI Power BI REST APIs) | Microsoft Learn
If this response was helpful in any way, I’d gladly accept a 👍much like the joy of seeing a DAX measure work first time without needing another FILTER.
Please mark it as the correct solution. It helps other community members find their way faster (and saves them from another endless loop 🌀.
If this response was helpful in any way, I’d gladly accept a kudo.
Please mark it as the correct solution. It helps other community members find their way faster.
Connect with me on LinkedIn
Hi @vamshikrishna20,
Thank you for posting your query in the Microsoft Fabric Community Forum.
Azure Data Factory does not support any authentication method that can successfully trigger a Gen2 Dataflow refresh.
Gen2 Dataflows currently require delegated user authentication, which ADF cannot provide when calling the Power BI REST APIs. Because of this, ADF-based orchestration is not supported for Gen2 Dataflow refresh scenarios, regardless of the authentication approach.
If you need to orchestrate refreshes, the supported options are:
If ADF orchestration is a strict requirement, you may need to redesign the solution so ADF loads data upstream (Lakehouse/Warehouse) and Gen2 Dataflows consume that data instead.
Thanks, @Zanqueta for sharing valuable insights.
Best regards,
Ganesh Singamshetty.
Hi @vamshikrishna20,
Thank you for posting your query in the Microsoft Fabric Community Forum.
Azure Data Factory does not support any authentication method that can successfully trigger a Gen2 Dataflow refresh.
Gen2 Dataflows currently require delegated user authentication, which ADF cannot provide when calling the Power BI REST APIs. Because of this, ADF-based orchestration is not supported for Gen2 Dataflow refresh scenarios, regardless of the authentication approach.
If you need to orchestrate refreshes, the supported options are:
If ADF orchestration is a strict requirement, you may need to redesign the solution so ADF loads data upstream (Lakehouse/Warehouse) and Gen2 Dataflows consume that data instead.
Thanks, @Zanqueta for sharing valuable insights.
Best regards,
Ganesh Singamshetty.
Thank you for reaching out to the Microsoft Fabric Forum Community.
I hope the information provided was helpful. If you still have questions, please don't hesitate to reach out to the community.
Hope everything’s going smoothly on your end. I wanted to check if the issue got sorted. if you have any other issues please reach community.
Hi @vamshikrishna20 ,
https://login.microsoftonline.com/{tenant}/oauth2/v2.0/tokenPOST https://api.powerbi.com/v1.0/myorg/dataflows/{dataflowId}/refreshesReference:
Dataflows - Refresh Dataflow - REST API (Power BI Power BI REST APIs) | Microsoft Learn
If this response was helpful in any way, I’d gladly accept a 👍much like the joy of seeing a DAX measure work first time without needing another FILTER.
Please mark it as the correct solution. It helps other community members find their way faster (and saves them from another endless loop 🌀.
If this response was helpful in any way, I’d gladly accept a kudo.
Please mark it as the correct solution. It helps other community members find their way faster.
Connect with me on LinkedIn
Hi @Zanqueta - which authentication can support if i want to refresh gen2 dataflows using ADF
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.