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

Did you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now

Reply
lagomar
Regular Visitor

Power BI Machine Learning run/refresh error when using dataflow (gateway)

Attempting to run a ML regression and receiving the following error on the ML entity:

"Error: An error happened while reading data from the provider: 'An internal error occurred.'.. RootActivityId"

 

Gateway is connected for data in SQLServer but the AIInsight extensions cannot be added to the gateway.

 

ML has worked in the past with the same setup but now will not run.

3 REPLIES 3
Anonymous
Not applicable

HI @lagomar ,

It is hard to troubleshoot without any detail information, can you please share more detail information to help us clarify your scenario?(e.g. detailed error message with activity/request id, snapshot, detail operation steps...)

Regards,

Xiaoxin Sheng

Hi @Anonymous ,

Thanks for your response. For data privacy reasons I cannot include screenshots but here are the steps that I am taking to create my dataflow and implement the ML capabilities:

 

1. Create workspace, enabling dedicated capacity

2. Create dataflow

3. Add new entities - SQL Server database

4. login using database credentials (basic authentication kind)

5. Select on-premises gateway under connection credentials (gateway opened and logged in on my desktop)

6. Select table

7. Select 'Transform data'

8. Filter date range, and locational data

9. Save & close

10. Name dataflow

11. Refresh data

12. Apply ML model to entity (SQL Server data I just added)

13. Select Historical outcome field, in my case an integer value representing travel days

14. Select regression as model type

15. Select Base Entities for model

16. Name model, SAVE & REFRESH

17. Error after less than one minute on the refresh: Error: An error happened while reading data from the provider: 'An internal error occurred.'.. RootActivityId = 8bf235fc-cc18-4e05-9296-9b4d91d9d7b7.Param1 = An error happened while reading data from the provider: 'An internal error occurred.' Request ID: 8b28cf2e-af9c-af35-c587-7cc16bf2ba62.

 

Training data entitiy completed successfully but when the regression entity runs there is an error. I've tried using ML models  (not just regression) with different historical outcome fields and received same error.

 

Note: This error does not occur when I refresh entity with no ML model applied.

 

Thanks for your help!

 

 

Anonymous
Not applicable

HI @lagomar ,

According to your description, it seems like a compatibility issue between power bi dataflow and Azure ML datasource, I'd like to suggest you open a support ticket to get further support from power bi team.

submit a support ticketsubmit a support ticket

Regards,

Xiaoxin Sheng

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.