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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
kjohansen
Frequent Visitor

data refresh disabled - windows credentials not needed (?)

I received a notification that my data refresh had been disabled.  When I investigate it says to 'edit credentials'.  I can see that it seems to have been changed to 'Anonymous'.  When I change it to 'Windows', I'm told that I don't need to provide my Windows credentials.  There is a Sign in button, but when I click it I get a message 'failed to update source data credentials'. 

 

The refresh was working before I brought in a new data source (an Excel file on SharePoint).  The new source is its own query and is not merged/joined with any other queries.  If I choose the third option 'Basic' and enter my Windows credentials, I get this message:  'Failed to update data source credentials: The credentials provided for the Web source are invalid.'  This makes no sense as these are my Windows credentials and of course they are used to access the Excel file on Sharepoint! 

 

Thanks for any help you can provide!

-Kerri

Note the version in the error message:   

Version:

13.0.5391.189

1 ACCEPTED SOLUTION

@kjohansen,

You connect to on-premises SharePoint site Excel in Power BI Desktop and use Windows authentication in Power BI Desktop, right?
Also you import SQL data to this single PBIX file. If so, do you add all the data sources(SharePoint) and SQL Server within gateway?

Regards,
Lydia

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

4 REPLIES 4
v-yuezhe-msft
Microsoft Employee
Microsoft Employee

@kjohansen,

Do you connect to Excel file in SharePoint Online or On-premises SharePoint? And what is the other data sources in your PBIX file?

If you connect to Excel file in SharePoint Online in Power BI Desktop, you would need to  use "Microsoft Account" authentication, and in Power BI Service, you would need to use OAuth2 authentication.

Regards,
Lydia

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.

Hi Lydia, we connect via On-premises SharePoint Online.  The other datasource in my pbix file is SQL query to our data warehouse (gateway has been configured). Refresh was working on that before I added the SQL query.

 

The two sources are not merged; I have different Visualizations for each.  

 

Thanks for any help you can provide!

@kjohansen,

You connect to on-premises SharePoint site Excel in Power BI Desktop and use Windows authentication in Power BI Desktop, right?
Also you import SQL data to this single PBIX file. If so, do you add all the data sources(SharePoint) and SQL Server within gateway?

Regards,
Lydia

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.

No, I had not added the Gateway for SharePoint.  Now that I have, it works.  Thank you!

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.