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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

Reply
PatrickB
Frequent Visitor

Unable to configure an Excel data source from Enterprise Gateway

Hi,

 

I am trying to set up a connection to my Enterprise Gateway for one of my datasets. The dataset includes 3 data sources, one SSAS connection, one SQL Server connection and one Excel connection to a Excel file. Now I am having problems setting up the data source for the Enterprise Gateway to the Excel file. The file is located on OneDrive for Business and when I created the dataset in PBI Desktop there is no problem connecting to it. But when trying to connect from the PBI service I get the following error message,

 

Aktivitets-ID:00b39063-3a24-d49b-fe83-8d880e90bfdc
Begär ID:be16275e-987b-61f6-e259-e0a573ca806d
Kluster-URI:https://wabi-south-east-asia-redirect.analysis.windows.net
Statuskod:400
Felkod:DM_GWPipeline_Gateway_InvalidConnectionCredentials
Tid:Tue Aug 22 2017 14:21:57 GMT+0200 (W. Europe Daylight Time)
Version:13.0.2136.181
Underliggande felkod:-2147467259
Underliggande felkodsmeddelande:The credentials provided for the Web source are invalid. (Source at https://pernodricard-my.sharepoint.com/personal/patrick_baumann_pernod-ricard_com/Documents/File.xls....)
DM_ErrorDetailNameCode_UnderlyingHResult:-2147467259
Microsoft.Data.Mashup.CredentialError.DataSourceKind:Web
Microsoft.Data.Mashup.CredentialError.DataSourcePath:https://pernodricard-my.sharepoint.com/personal/patrick_baumann_pernod-ricard_com/Documents/File.xls...
Microsoft.Data.Mashup.CredentialError.Reason:AccessForbidden
Microsoft.Data.Mashup.MashupSecurityException.DataSources:[{"kind":"Web","path":"https://pernodricard-my.sharepoint.com/personal/patrick_baumann_pernod-ricard_com/Documents/File.xls..."}]
Microsoft.Data.Mashup.MashupSecurityException.Reason:AccessForbidden

I have got it to work by setting up a personal gateway on my local machine but since this solution is going to be used by multiple other users I want to use the Enterprise Gateway instead.

 

I have used the Web data connector for the Excel file. 

 

Rgs,

//Patrick

 

2 ACCEPTED SOLUTIONS
v-haibl-msft
Microsoft Employee
Microsoft Employee

@PatrickB

 

Currently, on-premise data gateway doesn't support OAuth2 based authentication. We are not able to add the online data sources in data gateway as well as on-premise data sources, so that we can't configure this kind of combined dataset to use data gateway. The workaround is to use personal gateway.

 

PG have started working on the data gateway to fix this issue. See: Combine enterprise gateway and online data sources. Their current ETA is end of August, so we just need to wait for the new version of on-premises data gateway.

 

Best Regards,
Herbert

View solution in original post

Hi Herbert,

 

Thanks for you swift reply! Ok, then I know and will use the personal gateway or put the file on a network disk instead. But it feels important that the functionality to combine on-prem and online data since many of my customers are moving there files over to OneDrive.

 

Rgs,

//Patrick

View solution in original post

2 REPLIES 2
v-haibl-msft
Microsoft Employee
Microsoft Employee

@PatrickB

 

Currently, on-premise data gateway doesn't support OAuth2 based authentication. We are not able to add the online data sources in data gateway as well as on-premise data sources, so that we can't configure this kind of combined dataset to use data gateway. The workaround is to use personal gateway.

 

PG have started working on the data gateway to fix this issue. See: Combine enterprise gateway and online data sources. Their current ETA is end of August, so we just need to wait for the new version of on-premises data gateway.

 

Best Regards,
Herbert

Hi Herbert,

 

Thanks for you swift reply! Ok, then I know and will use the personal gateway or put the file on a network disk instead. But it feels important that the functionality to combine on-prem and online data since many of my customers are moving there files over to OneDrive.

 

Rgs,

//Patrick

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

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.

Top Solution Authors