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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
dniedrauer
Resolver I
Resolver I

On-premises gateway - data source refresh Invalid connection credentials

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

 

 

 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

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

View solution in original post

5 REPLIES 5
Anonymous
Not applicable

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

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

Anonymous
Not applicable

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

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

Anonymous
Not applicable

hello dniedrauer
Did you get any solution for this?

 

Thanks

Leo Carlos.

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

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.