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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
Arranafc19
Helper IV
Helper IV

Issue with Datasource on scheduled refresh

Hi

 

Anybody getting any issues with connecting to datasources on a schedule refresh ?

 

Getting the below error on a scheduled refresh however when I push a refresh manually it is refreshing fine , the same when I download the dataset and refresh in desktop.

Underlying error code:

-2147467259

Underlying error message:

The credentials provided for the MySql source are invalid

DM_ErrorDetailNameCode_UnderlyingHResult:

-2147467259

Microsoft.Data.Mashup.CredentialError.DataSourceKind:

MySql

Microsoft.Data.Mashup.CredentialError.Reason:

AccessUnauthorized

Microsoft.Data.Mashup.MashupSecurityException.Reason:

AccessUnauthorized

 

It can't be an issue with the credentials as it refreshes manually , is their something in the scheduled refresh which may be causing this ?

2 REPLIES 2
v-luwang-msft
Community Support
Community Support

Hi @Arranafc19 ,

Has your problem been solved, if so, please consider Accept a correct reply as the solution to help others find it.
 
Best Regards
Lucien
v-luwang-msft
Community Support
Community Support

Hi  @Arranafc19 ,

There are several points you may considerate:

 

1.Ensure that you've added one or more data sources of your dataset to the gateway, as described in Add a data source.

 

2.Verify that you have the correct username and password. Also, verify that those credentials can successfully connect to the data source. Make sure the account that's being used matches the authentication method.

 

3.Your data source credential may expire, so try to update the credential and republish the report. In Power BI, go to refresh settings for the dataset. In Manage Data Sources, select Edit credentials to update the credentials for the data source.

 

4.If your dataset not only contains cloud data source but also the on premise data source, then it needs to use the gateway and configure schedule refresh, see more: :On-premises data gateway , Configure scheduled refresh .

 

Note that you also need to select Allow user's cloud data sources to refresh through this gateway cluster option Under Gateway Cluster Settings. See: Merge or append on-premises and cloud data sources.

 

5.Please make sure the gateway is online, and try to upgrade the gateway to latest version. You might also need to upgrade the Power BI Desktop to the latest version 2.75.5649.961 . Download the pbix file from Power BI Service, then reopen in Power BI Desktop and republish to Power BI Service. See the similar case.

 

6.You may check your data source, and check if it is the similar case .

 

You may resolve the issue via the troubleshooting link :https://docs.microsoft.com/en-us/power-bi/refresh-troubleshooting-refresh-scenarios .

 

Best Regards,

Lucien

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors