Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join 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.

Reply
ViralPatel212
Resolver I
Resolver I

Dataflow gen2 with Virtual Machine Gateway refresh failed

Hello guys,

 

I'm having an issue with Dataflow Gen2 refresh. Please note that I'm using a trial SKU.

All the settings for the VM Gateway are ok and I can connect to my SQL server database. Refresh and scheduled refresh are working for semantic models through the VM gateway.

I created a Dataflow Gen2 item and connected it to my SQL database using the VM GW. I can see the data preview and can do all the transformations I want with Power Query. So I published the Dataflow but when the dataflow refreshes it fails. The error message is not clear at all (cf. Screenshot).

Has anyone ever encountered this problem? Any ideas for a resolution ? I've been looking for hours

Thanks.

 

ViralPatel212_0-1731410824765.png

 

 

 

1 REPLY 1
Poojara_D12
Super User
Super User

Hi @ViralPatel212 

Based on your description and the screenshot, it seems that your Dataflow Gen2 is failing on refresh despite the successful connection and preview. This can happen due to several reasons, especially when using a trial SKU or with specific configurations like a VNET Gateway. Here are some steps and considerations that might help resolve the issue:

1. Check Trial SKU Limitations

  • Some features in Power BI are limited or have lower resource allocation with trial SKUs. Refresh operations, especially for dataflows that connect to external sources via VNET Gateways, may be impacted.
  • If possible, try running the dataflow on a production SKU or Premium Per User (PPU) trial account to see if the issue persists.

2. Verify VNET Gateway Configuration for Dataflow Gen2

  • Although the VNET Gateway works for semantic models, Dataflow Gen2 might have additional requirements.
  • Make sure that the VNET Gateway has been explicitly configured to support Dataflow Gen2 connections. This may involve additional settings in your network configuration (e.g., firewall rules, whitelisting Power BI IP ranges) to allow dataflows to access the database.

3. Check Firewall and Network Settings

  • Ensure that all necessary IP ranges used by Power BI’s Dataflow Gen2 service are allowed in your network firewall settings. Microsoft provides a list of IP addresses that Power BI uses, which may differ slightly for Dataflow Gen2.
  • Additionally, make sure your SQL Server is configured to allow traffic from these IP ranges.

4. Inspect the Error in Power BI Service Logs

  • Sometimes, a more detailed error message can be found in the Power BI Service logs.
  • Go to Settings > Manage Gateways > VNET Gateway Logs and look for any errors or warnings related to the dataflow refresh. This might provide more specific information on what is causing the failure.

5. Adjust Dataflow Query Settings

  • In Power Query for your dataflow, try to simplify the transformations temporarily and test a refresh. Some complex transformations may work in the Power Query editor but fail during refresh due to resource constraints or unsupported features in Dataflow Gen2.

6. Enable Enhanced Compute Engine (if applicable)

  • If your dataflow operations involve large datasets or complex transformations, enabling the Enhanced Compute Engine may help improve performance and stability. This setting is available on some Premium SKUs and can sometimes alleviate issues with data transformations in Dataflow Gen2.

7. Check Microsoft Power BI Known Issues

  • Power BI periodically has known issues with services like Dataflow Gen2, which Microsoft usually posts about on their Power BI Support page.
  • If this is a new or emerging issue, it’s possible that a service-related bug is impacting the refresh, especially with trial SKUs.

8. Open a Support Ticket with Microsoft

  • If none of the above solutions work, you may need to open a support ticket with Microsoft for deeper investigation. They may have access to internal logs and diagnostics that can provide insight into the refresh failure.

In summary, check for trial SKU limitations, verify VNET Gateway settings, check firewall/IP configurations, inspect service logs, and try simplifying transformations. If the issue persists, contacting Microsoft Support may be the best course of action. Let me know if you have questions about any of these steps!

 

Did I answer your question? Mark my post as a solution, this will help others!

If my response(s) assisted you in any way, don't forget to drop me a "Kudos" 🙂

Kind Regards,
Poojara
Data Analyst | MSBI Developer | Power BI Consultant

 

Did I answer your question? Mark my post as a solution, this will help others!
If my response(s) assisted you in any way, don't forget to drop me a "Kudos"

Kind Regards,
Poojara - Proud to be a Super User
Data Analyst | MSBI Developer | Power BI Consultant
Consider Subscribing my YouTube for Beginners/Advance Concepts: https://youtube.com/@biconcepts?si=04iw9SYI2HN80HKS

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.