Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago

Power BI Service Refresh Issues with Sharepoint

Hi All, 

 

We are currently having Power BI refresh issues only within the service. It continously fails because of an excel file within a sharepoint site. He is the error we get:

  • Data source error{"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. "}},{"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.DataSourceOriginKind","detail":{"type":1,"value":"SharePoint"}},{"code":"Microsoft.Data.Mashup.CredentialError.DataSourceOriginPath","detail":{"type":1,"value":""}},{"code":"Microsoft.Data.Mashup.CredentialError.DataSourcePath","detail":{"type":1,"value":""}},{"code":"Microsoft.Data.Mashup.CredentialError.Reason","detail":{"type":1,"value":"AccessUnauthorized"}},{"code":"Microsoft.Data.Mashup.MashupSecurityException.DataSources","detail":{"type":1,"value":"[{\"kind\":\"SharePoint\",\"path\":\\"}]"}},{"code":"Microsoft.Data.Mashup.MashupSecurityException.Reason","detail":{"type":1,"value":"AccessUnauthorized"}}],"exceptionCulprit":1}}} Table: Unmapped_ForecastGroup.
  • Cluster URIWABI-US-EAST2-redirect.analysis.windows.net
  • Activity IDeaf12eba-e24a-409c-a973-2a59725901f2
  • Request ID6da54758-ba1e-f507-2040-93f6100dd0c8
  • Time2022-04-25 20:16:11Z

I have removed the HTML for the sharepoint site in the error message above

 

The weird thing is that we have other datasets that hit the same excel on the sharepoint site and they refresh just fine. It is only within this one dataset where it fails. 

 

Wondering if anyone has had similar issues recently and how it was resolved? 

1 Reply

  • v-xiaotang's avatar
    v-xiaotang
    Community Support

    Hi Anonymous 

    Please download the report on the Service, and open it in Power BI Desktop, then go to Data source Settings, all listed data sources need to be added in data gateway. And when you create data source in data gateway, connection information must be the same as used in Power BI Desktop.

     

    Best Regards,

    Community Support Team _Tang

    If this post helps, please consider Accept it as the solution to help the other members find it more quickly.