Reply
Member
Posts: 65
Registered: ‎05-04-2017
Accepted Solution

On-premises gateway - data source refresh Invalid connection credentials

[ Edited ]

The source is a SharePoint folder, and refresh/credentials work fine in the desktop version, but when I try to add the sharepoint source to the on premises gateway (see attached), I get the following error: 

 

Unable to connect: We encountered an error while trying to connect to https://xxx-my.sharepoint.com/personal/xxx. Details: "Invalid connection credentials."Hide details

Activity ID:596ce0cb-3ee8-bf08-a3ff-d09696a06a2b
Request ID:f2b4c033-a65c-435b-1a29-f15caabb0940
Cluster URI:https://wabi-north-europe-redirect.analysis.windows.net
Status code:400
Error Code:DM_GWPipeline_Gateway_InvalidConnectionCredentials
Time:Wed Oct 25 2017 13:23:55 GMT-0500 (Central Daylight Time)
Version:13.0.2819.181
Underlying error code:-2147467259
Underlying error message:The credentials provided for the SharePoint source are invalid. (Source at https://xxx-my.sharepoint.com/personal/xxx.)
DM_ErrorDetailNameCode_UnderlyingHResult:-2147467259
Microsoft.Data.Mashup.CredentialError.DataSourceKind:SharePoint
Microsoft.Data.Mashup.CredentialError.DataSourcePath:https://xxx-my.sharepoint.com/personal/xxx
Microsoft.Data.Mashup.CredentialError.Reason:AccessForbidden
Microsoft.Data.Mashup.MashupSecurityException.DataSources:[{"kind":"SharePoint","path":"https://xxx-my.sharepoint.com/personal/xxx"}]
Microsoft.Data.Mashup.MashupSecurityException.Reason:AccessForbidden

 

One thing I've noticed is that there's no option for two-factor authentication OAth2 like there is in the desktop version. Help!!! The lack of live refresh is not helping my case to sell Power BI to management. We're looking at Qlik as well as it seems to be less error prone and more ready for primetime, but we'd prefer Power BI if we could get it to work properly. 

 

 Capture.JPG

 

 

 

 


Accepted Solutions
Community Support Team
Posts: 7,505
Registered: ‎08-14-2016

Re: On-premises gateway - data source refresh Invalid connection credentials

Hi @dniedrauer,

 

That is a limitation of on-premise gateway, maybe you can try to personal gateway to instead, it support combine datasources.

 

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin Sheng
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.



For learning resources/Release notes, please visit: | |

View solution in original post


All Replies
Community Support Team
Posts: 7,505
Registered: ‎08-14-2016

Re: On-premises gateway - data source refresh Invalid connection credentials

Hi @dniedrauer,

 

Please refer to below link to correctly configure your datasource:

How to configure On-premises Gateway to SharePoint Folder source

 

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin Sheng
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.



For learning resources/Release notes, please visit: | |
Member
Posts: 65
Registered: ‎05-04-2017

Re: On-premises gateway - data source refresh Invalid connection credentials

From the link: 

 

"On-premises gateway doesn't allow you to combine online data sources and on-premises data sources. This is a known issue that has been submitted in the following link and the feature that using on-premises gateway to work with online data sources is under review, please vote it." 

 

Is this still an issue? If so, this could be my problem too... 

Community Support Team
Posts: 7,505
Registered: ‎08-14-2016

Re: On-premises gateway - data source refresh Invalid connection credentials

Hi @dniedrauer,

 

That is a limitation of on-premise gateway, maybe you can try to personal gateway to instead, it support combine datasources.

 

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin Sheng
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.



For learning resources/Release notes, please visit: | |
Member
Posts: 65
Registered: ‎05-04-2017

Re: On-premises gateway - data source refresh Invalid connection credentials

I am now having the same issue with the personal gateway too. Help!! 

Frequent Visitor
Posts: 8
Registered: ‎01-08-2019

Re: On-premises gateway - data source refresh Invalid connection credentials

hello dniedrauer
Did you get any solution for this?

 

Thanks

Leo Carlos.