cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
rodrigomo Frequent Visitor
Frequent Visitor

How to configure On-premises Gateway to SharePoint Folder source

Hi everyone!

 

I tryed to configure an on-premises to SharePoint Folder source but I did not have success.

 

In Power BI Desktop it works very well, I could connect and read the files. However, when I published the application and tried to configure the gategay to make the schedule, I could not make the connection. See the prints below.

 

Anyone has any idea what is happen?

Thanks

Sem título.png

  

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Sem título2.png

1 ACCEPTED SOLUTION

Accepted Solutions
Moderator v-yuezhe-msft
Moderator

Re: How to configure On-premises Gateway to SharePoint Folder source

Hi @rodrigomo

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.

https://ideas.powerbi.com/forums/265200-power-bi-ideas/suggestions/13405644-combine-enterprise-gatew...

To work around the issue in your scenario, you can use the personal gateway to schedule refresh for your dataset when combining SharePoint Online data source and on-premises SQL Server data source.


Thanks,

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

View solution in original post

16 REPLIES 16
Moderator v-yuezhe-msft
Moderator

Re: How to configure On-premises Gateway to SharePoint Folder source

Hi @rodrigomo,

Do you connect to folder placed on SharePoint Online site? If that is the case, when you want to set refresh for your dataset in Power BI Service, gateway is not required. As shown in the following screenshot, you connect directly to SharePoint Online .
1.PNG

However, if you connect to folder located on on-premises SharePoint, please translate the above error message into English.

 


Thanks,
Lydia Zhang

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
rodrigomo Frequent Visitor
Frequent Visitor

Re: How to configure On-premises Gateway to SharePoint Folder source

You are right!
It's just to confirm the credentials and not is necessary to configure a gatway when just SharePoint is being used.
Thanks for this!

 

However, my application reads data from SharePoint and(+) SQL Server base. In this case, I have an on-premises gateway to refresh the SQL data and it's not working. Apparently, the PBI services is waiting a personal gatway, but I need an on-premises gateway. See the PBI message below.

 

I have used on-premises gateway for SQL data for other applications and it's work very well when just SQL data were used. SharePoint source can causes some problem or conflict?

 

Thanks!

 

PrintSchedule.pngPrintGateway.png

Moderator v-yuezhe-msft
Moderator

Re: How to configure On-premises Gateway to SharePoint Folder source

Hi @rodrigomo

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.

https://ideas.powerbi.com/forums/265200-power-bi-ideas/suggestions/13405644-combine-enterprise-gatew...

To work around the issue in your scenario, you can use the personal gateway to schedule refresh for your dataset when combining SharePoint Online data source and on-premises SQL Server data source.


Thanks,

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

View solution in original post

rodrigomo Frequent Visitor
Frequent Visitor

Re: How to configure On-premises Gateway to SharePoint Folder source

Uhmmm.. interesting!

Well, I will review the data source solution for my appliation.

Thanks Lydia

Best!

manwww Frequent Visitor
Frequent Visitor

Re: How to configure On-premises Gateway to SharePoint Folder source

I have not succeeded in setting up personal data gateway as a workaround.

Now errors on set up, but on refresh frows the following: 

"

Something went wrong
 
Cannot connect to the mashup data source. See error details for more information.
Please try again later or contact support. If you contact support, please provide these details.

 

Underlying error code-2147467259
Underlying error messageWe're sorry, an error occurred during evaluation.
DM_ErrorDetailNameCode_UnderlyingHResult-2147467259
Cluster URIWABI-WEST-EUROPE-redirect.analysis.windows.net
Activity ID49c46a9b-d936-446a-8a24-dfc0a148008e
Request ID08ebe341-f745-4db6-a715-e502cb408008
Time2017-09-07 09:42:53Z

 "

 

Any ideas what to do?

Highlighted
nobrain01 Frequent Visitor
Frequent Visitor

Re: How to configure On-premises Gateway to SharePoint Folder source

You don't need to include it as a data source in your On-Premis Gateway. 

Under Gateway Connection, select "Connect directly" then under Data Source Credentials set your sharepoint online credentials using OAuth2 authentication method.

you should be able to refresh or schedule the refresh of your dataset using this configuration. 

 

 

nobrain01 Frequent Visitor
Frequent Visitor

Re: How to configure On-premises Gateway to SharePoint Folder source

You don't need to include it as a data source in your On-Premis Gateway. 

Under Gateway Connection, select "Connect directly" then under Data Source Credentials set your sharepoint online credentials using OAuth2 authentication method.

you should be able to refresh or schedule the refresh of your dataset using this configuration. 

 

 

rodrigomo Frequent Visitor
Frequent Visitor

Re: How to configure On-premises Gateway to SharePoint Folder source

Hi @nobrain01!

This just works for applications that have as data source only Sahrepoint files, ok?

In my case, I have Sharepoint and SQL sources.

Thanks

James_W_Myers Frequent Visitor
Frequent Visitor

Re: How to configure On-premises Gateway to SharePoint Folder source

Hi - I've tried to use the Connect directly (seems the only available option) and still getting the same issue.  The only authentication selection I can see is: Anonymous; Windows or Basic, so no OAuth2 selection.  I've tried all of these and none see to work.

Helpful resources

Announcements
New Kudos Received Badges Coming

New Kudos Received Badges Coming

Kudos to you if you earned one of these! Check your inbox for a notification.

Microsoft Implementation for Communities Wins Award

Microsoft Implementation for Communities Wins Award

Learn about the award-winning innovation that was implemented across Microsoft’s Business Applications Communities.

Power Platform World Tour

Power Platform World Tour

Find out where you can attend!

Top Solution Authors
Top Kudoed Authors (Last 30 Days)
Users online (3,755)