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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
cmncp
Helper III
Helper III

Excel Sharepoint Data Refresh - Can't refresh your data

I have an excel file in Sharepoint Online, which has a simple table of data.  Using Power BI Desktop, I can connect to it and create a report.  After I publish the report to Power BI Service, I can see the report, and it all looks good.  However, as soon as I try to refresh the Dataset, I get the following error:

 

Can't refresh your data
 
The credentials you provided for the data source are invalid. Please check the credentials for all the data sources.
Please try again later or contact support. If you contact support, please provide these details.
 
When I close the message, it takes me to the Settings page for the dataset and the Data source credentials section.  It says:
 
Your data source can't be refreshed because the credentials are invalid. Please update your credentials and try again.
 
When I click on Edit Credentials, the only Authentication method available is "WindowsWithoutImpersonation".  When I click Sign In, it just sits there spinning and never comes back.
 
Any ideas what I am doing wrong?
1 ACCEPTED SOLUTION

Hi @cmncp,

Firstly, for excel located in on-premises SharePoint site, we need to use Windows authenticaion. For Excel located in SharePoint Online, we need to use OAuth2 authentication.

Secondly, to access on-premises data source, gateway is required when refreshing dataset. And both personal gateway and on-premises gateway require Pro.

Thanks,
Lydia Zhang

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

17 REPLIES 17

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors
Top Kudoed Authors