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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
MS1821
Frequent Visitor

Refresh Failed - SharePoint Invalid Credentials Issue

Hi all,

Scheduled refresh has been failing for a few of my reports all of a sudden (for about a week now).

I originally had an issue with Power Bi Desktop, but I turned off Parallel loading of tables and now the Desktop Loads/refreshes  fine.  The webservice i get these errors, any guidance where to start?

 

{"error":{"code":"DM_GWPipeline_Gateway_InvalidConnectionCredentials","pbi.error":{"code":"DM_GWPipeline_Gateway_InvalidConnectionCredentials","parameters":{},"details":[{"code":"DM_ErrorDetailNameCode_UnderlyingErrorCode","detail":{"type":1,"value":"-2147467259"}}

{"code":"DM_ErrorDetailNameCode_UnderlyingErrorMessage","detail":{"type":1,"value":"The credentials provided for the SharePoint source are invalid. (Source at SHAREPOINTFILE_xlsx/_api/contextinfo.)"}},{"code":"DM_ErrorDetailNameCode_UnderlyingHResult","detail":{"type":1,"value":"-2147467259"}},{"code":"Microsoft.Data.Mashup.CredentialError.DataSourceKind","detail":{"type":1,"value":"SharePoint"}},{"code":"Microsoft.Data.Mashup.CredentialError.DataSourcePath","detail":{"type":1,"value":"SHAREPOINTFILE_xlsx/_api/contextinfo}},{"code":"Microsoft.Data.Mashup.CredentialError.Reason","detail":{"type":1,"value":"AccessUnauthorized"}},{"code":"Microsoft.Data.Mashup.MashupSecurityException.DataSources","detail":{"type":1,"value":"[{\"kind\":\"SharePoint\",\"path\":\"SHAREPOINTFILE_xlsx/_api/contextinfo\"}]"}},{"code":"Microsoft.Data.Mashup.MashupSecurityException.Reason","detail":{"type":1,"value":"AccessUnauthorized"}}],"exceptionCulprit":1}}} Table: Invoice Amount Unique.

 

I have access and correct creditails for all my web/sharepoint links. All are online under Manage Connections and Gateways.

 

Thanks,
Matt 

2 REPLIES 2
Anonymous
Not applicable

Hi @MS1821 ,

 

The error message indicates there might be an issue with authentication or permissions when attempting to connect.

 

If I may suggest, here are some steps that could assist in troubleshooting and potentially resolving the issue:

1\Kindly navigate to Power BI Service > Your Workspace > Your Semantic Model > Settings > Data Source Credentials, and verify whether the credentials for SharePoint remain valid.

vbofengmsft_0-1726623279551.png

 

2\In the Gateway and Cloud Connections section, would you mind confirming that the SharePoint connection is properly configured and that its status is "Online"?

 

Best Regards,

Bof

Data Source Credentials are valid and the status is Online.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.