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

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.

Reply
Anonymous
Not applicable

Error when refreshing data in Services when using DirectQuery for Power BI datasets and AAS

Hi 

 

I get the following error when refreshing data in Services, even though I enter the credentials: 

"your data source cant be refreshed because the credentials are invalid. Please update your credentials and try again"

 

Does anyone know why I get the error and how I can refresh the data succesfully?

 

thank you 

3 REPLIES 3
v-cazheng-msft
Community Support
Community Support

Hi @Anonymous 

You can refer the accepted solution in this issue Your data source can't be refreshed because the credentials are invalid and check your configuration.  In short, add all data sources to Gateway, make sure the gateway is online and the credentials are correct.

 

Best Regards

Caiyun Zheng

 

Is that the answer you're looking for? If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Anonymous
Not applicable

Hi 🙂

 

Thank you for the reply. I am not able to add a gateway: It says: "You dont need a gateway for this dataset because all sources are in the cloud"

 

I tried to make a sample report where I did the same steps as in my report (the one that doesnt want to refresh in Services): I changed the Analysis services connection to direct query and added a source from Sharepoint. The sample report didnt have any issues with refreshing in Services.

 

So i am not sure what is wrong with my report. Credentials and everything are the same... I tried to clear the permissions, delete the sources and add the sources again in my report - but it still gives me the same error message when refreshing in Services. I dont see another way out now than creating a new report and copy and paste all measures and visualisations from my old one. 

 

Any idea what could be the issue?

 

Hi @Anonymous 

You can check your setting on Dateset Security of Tenant Settings in Admin portal. But I'm not sure whether it is caused by it.

 

Best Regards

Caiyun Zheng

 

Is that the answer you're looking for? If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 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.