Forum Discussion
Web url data (table on sharepoint) refresh - credentials error on enterprise gateway
Hello everyone,
Im new to gateways and I got task to report data from table on sharepoint (ver.2013 foundation).
I cannot use sharepoint list, sharepoint online list or folder option
(the url to data is too long - and those 3 options want me to supply only root of the url, from which i cant get to desired data table)
so i used web option supplying url to that data table.
Report doesnt refresh with enterprise gateway, but refreshes succesfully in desktop Power BI.
Im getting this alert from Power BI service:
"Refresh failed: xxxxxx has failed to refresh"
{"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 cannot be used for the Web source. (Source at https://epodatelna.--------.cz/_layouts/15/wrksetng.aspx.)"}},{"code":"DM_ErrorDetailNameCode_UnderlyingHResult","detail":{"type":1,"value":"-2147467259"}},{"code":"Microsoft.Data.Mashup.CredentialError.DataSourceKind","detail":{"type":1,"value":"Web"}},{"code":"Microsoft.Data.Mashup.CredentialError.DataSourcePath","detail":{"type":1,"value":"https://epodatelna.---------.cz/_layouts/15/wrksetng.aspx?List=%7B34CC8F13-CF2F-47A7-A269-458B55F6F8E3%7D"}},{"code":"Microsoft.Data.Mashup.CredentialError.Reason","detail":{"type":1,"value":"CredentialInvalid"}},{"code":"Microsoft.Data.Mashup.MashupSecurityException.DataSources","detail":{"type":1,"value":"[{\"kind\":\"Web\",\"path\":\"https://epodatelna.----------.cz/_layouts/15/wrksetng.aspx?List=%7B34CC8F13-CF2F-47A7-A269-458B55F6F8E3%7D\"}]"}},{"code":"Microsoft.Data.Mashup.MashupSecurityException.Reason","detail":{"type":1,"value":"CredentialInvalid"}}],"exceptionCulprit":1}}} Table: Table 0.
Thank you for any help.
We are kinda speculating here to rescue you through your issue as it is not really clear what the reason might be. However i can suspect a versions non compatibility along the process of refreshing your report. could be the sharepoint, the Gateway or the desktop.
So give it a last try and install a personal Gateway( your machine has to be 64 bits) in your computer and use it. If it works then the entreprise Gateway needs to be updated, else the sharepoint or your desktop.
Hope this will save you.
10 Replies
- aj1973Community Champion
Hi Anonymous
Try to edit the Web credentials to Ananymous and None
- v-deddai1-msftCommunity Support
Hi aj1973 ,
Would you please try to select OAuth2 as the Authentication method when configuring your refresh settings. Please confirm that you use the same credentials and privacy level like in Power BI Desktop and Service.
Best Regards,
Dedmon Dai
- aj1973Community Champion
- AnonymousNot applicable
Tried Anonymous/None setting:
Something went wrong
There was an error when processing the data in the dataset.
Please try again later or contact support. If you contact support, please provide these details.
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 cannot be used for the Web source. (Source at https://epodatelna.-------.cz/_layouts/15/WrkSetng.aspx.)"}},{"code":"DM_ErrorDetailNameCode_UnderlyingHResult","detail":{"type":1,"value":"-2147467259"}},{"code":"Microsoft.Data.Mashup.CredentialError.DataSourceKind","detail":{"type":1,"value":"Web"}},{"code":"Microsoft.Data.Mashup.CredentialError.DataSourcePath","detail":{"type":1,"value":"https://epodatelna.-----.cz/_layouts/15/WrkSetng.aspx?List=34cc8f13-cf2f-47a7-a269-458b55f6f8e3"}},{"code":"Microsoft.Data.Mashup.CredentialError.Reason","detail":{"type":1,"value":"CredentialInvalid"}},{"code":"Microsoft.Data.Mashup.MashupSecurityException.DataSources","detail":{"type":1,"value":"[{\"kind\":\"Web\",\"path\":\"https://epodatelna.-----.cz/_layouts/15/WrkSetng.aspx?List=34cc8f13-cf2f-47a7-a269-458b55f6f8e3\"}]"}},{"code":"Microsoft.Data.Mashup.MashupSecurityException.Reason","detail":{"type":1,"value":"CredentialInvalid"}}],"exceptionCulprit":1}}} Table: Query1.
Cluster URI: WABI-WEST-EUROPE-B-PRIMARY-redirect.analysis.windows.net
Activity ID: 7a7e8d69-dcb6-41ed-b8f3-43f2132500f0
Request ID: 6f52e115-fb4d-0290-5066-f0453567454a
Time: 2020-07-01 14:50:10ZIm confused, how is it possible that desktop version is refreshing without problem .. ?
also, thank you for suggestion.
- aj1973Community Champion
The Power bi desktop is free and doesn't use Gateway to connect to the source.
The Power service might need a Pro license to achieve some requests.
Do you have a Pro license?