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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
Anonymous
Not applicable

Invalid credentials SharePoint error (after multiple successful refreshes)

My Power BI report connects to a SharePoint Excel file, which multiple users have access to. 

 

For one of those users I used the credentials in desktop and service to set up the scheduled refresh. This refresh is succesful for 7-10 days, but afterwards fails with the error message that "The credentials provided for the SharePoint source are invalid". 

 

As far as I'm aware, the credentials do not change (no password change, etc.) every week. 

What could be the cause of this? How could I solve this? 

6 REPLIES 6
prajwlshetty
New Member

Sometime the refresh returns error if we add or remove a column in source table. please verify.

Anonymous
Not applicable

The password indeed has an expiration but it should not be every few days, which is the situation right now.

The client uses their microsoft login. Is there a possibility the credentials are no longer valid because the client switches between Microsoft accounts? 

I don't think so, you might check to make sure their account has permission to use the gateway connection though. That would not explain it working and then not working though - it would just not work at all. 

christinepayton
Super User
Super User

It shouldn't, you do need to enter them after you publish though. It sounds like you did that. You could try adding a gateway connection for the source even though it's not required and use a service account credentials though. 

Anonymous
Not applicable

Thank you for your answer. Maybe as a bit more context: it is a report developed for a client of mine, not for myself. 

The refresh uses a gateway connection, and the login credentials are based on their Microsoft account login.

Maybe this is what forms the issue? Is it possible that the internal IT regulation/security of the client is what's causing the problem? 

 

The credentials are stored in the gateway connection settings, so they should only be returning as invalid if they are actually invalid - the stored password doesn't "disappear" there periodically or anything. Does the account that's used in the connection have password expiration enabled maybe?

Helpful resources

Announcements
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.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

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

Top Solution Authors