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
D_Khandelwal
Frequent Visitor

Encountering Invalid Credentials Error Despite Valid Credentials for SharePoint

Hello Community,

 

I'm getting the below error on Power BI services for the SharePoint data source but I'm using the same credentials on Deskop and it's working completely fine. I tried to edit the credentials from services directly using the edit credentials option but had no luck it took a lot of refreshing time and at last, it failed.

 

"The credentials provided for the SharePoint source are invalid."

 

Any assistance would be greatly appreciated.

Thank you.

1 ACCEPTED SOLUTION
christinepayton
Super User
Super User

When you publish a report that uses a SharePoint source, you have to enter the credentials in the web service in the data refresh settings before it will refresh. If you don't do this step, you will get the error you are receiving. Power BI doesn't automatically grab the credentials of the account you want to use unless you're using a gateway. 

View solution in original post

3 REPLIES 3
christinepayton
Super User
Super User

When you publish a report that uses a SharePoint source, you have to enter the credentials in the web service in the data refresh settings before it will refresh. If you don't do this step, you will get the error you are receiving. Power BI doesn't automatically grab the credentials of the account you want to use unless you're using a gateway. 

Anonymous
Not applicable

@christinepayton Thank you for the advice. I am trying to implement your suggestion but "(Admin has granted access, credentials are not required)". Is there any other way around this? Credentials within the Desktop is successful with refreshes. Not while published. Please let me know your thoughts. 

That sounds like you are using a gateway for the connection and the gateway connection has invalid credentials. Try either opting not to use a gateway (it's not required for SharePoint Online) or contacting your admin and having them fix the credentials in connection settings for the gateway. 

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

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

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