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