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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
kenymaciel
Helper I
Helper I

Error - Sharepoint Datasource scheduled refresh

Hello everyone,

 

I have a report that connects to Sharepoint, users can access the network normally, but when I go to Manage > Data Sources and place my network credentials to make the automatic scheduling, the following error is generated.

 

Error1.jpg

 

I configured the connection credentials as follows:

 

Error2.jpg

 

Through Power BI Desktop and the on-premises report server I can refresh normally.

 

I already tried to change the way of connecting in all the ways that is shown in the step of editing the credentials, but without success.

 

My Sharepoint and the power bi report server are on-premise

 

Can anyone help?

 

tks,

Keny

1 REPLY 1
Icey
Community Support
Community Support

Hi @kenymaciel ,

 

1. Have you tried entering the username in the form of <domain>\<username> ?

 

2. Try to use the same Authentication Type ( Windows Authentication ) both on Power BI Desktop (Optimized for Power BI Report Server) and Power BI Report Server.

 

3. Try to use SharePoint List connector like so:


 

 

 

saj 
 

 

Helper II

 

Hi, yes @Harish12137 

 

We are currently Sharepoint 2013 and by default Power BI assumes a higher level so you cannot directly connect to a file using the UI. That said it is easy to sort out.

 

Make sure you can see the 'Formula Bar'

I connect to a SP List then edit the first step.

eg initial step

=SharePoint.Tables("http://sp.site.com/MySite", [ApiVersion = 15])

 

Change Tables to Files and reduce the ApiVersion to 14. 

= SharePoint.Files("http://sp.site.com/MySite", [ApiVersion = 14])

 

Reference: Power BI on premise - connect to on premise Sharepoint folder - Access to the resource is forbidden.


 

 

Best regards

Icey

 

If this post helps, then consider Accepting it as the solution to help other members find it faster.

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors