cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
saj Regular Visitor
Regular Visitor

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

Hi, I am trying to get at a folder on our on premise Sharepoint site. 

 

I've tried a "Sharepoint Folder" eg http://site.ourdomain.com/subsite/ but the desktop will not allow access and errors with "Access to the resource is forbidden."

 

I can get the PBI desktop to connect to the UNC path eg \\site.ourdomain.com\subsite\shared documents\administration

and all is good in PBI desktop. The issue occurs when I try to set up a refresh schedule on our on premise Power BI site.

The error I get when trying to set up the credentials is

"We got the IO error '53' while trying to access the path '\\site.ourdomain.com\subsite\shared documents\administration'."

 

I've tried correct case and even including %20 instead of the spaces but I've not managed to get eithe rapproach working as needed.

 

Any help gratefully received.

Thanks

9 REPLIES 9
Moderator v-yuezhe-msft
Moderator

Re: Power BI on premise - connect to on premise Sharepoint folder - Access to the resource is forbid

@saj,

I am unable to reproduce your issue on my side.

When I connect to SharePoint folder in Power BI Desktop optimized for report server, everything works well. Do you use Windows credential? If you are using SharePoint Online, please use Microsoft account to connect to the data source in power BI Desktop optimized for report server.

Capture.PNG1.PNG

In addition, regarding to the error message about UNC path, please check if the file is occupied by other programs and you have appropriate permission on it.


Regards,
Lydia

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.
saj Regular Visitor
Regular Visitor

Re: Power BI on premise - connect to on premise Sharepoint folder - Access to the resource is forbid

Hi Lydia / @v-yuezhe-msft

Happy New Year.

 

Yes I use Windows credentials, we've even tried using our Farm Admin account as it has no permission restrictions (to our knowledge). We are running SP2013.

 

In terms of UNC then I can connect to it in Desktop (optimised for Report Server) no problem. The issue occurs when I try to set up a refresh schedule on the report server. So by the fact I can connect from Desktop this confirms I have the approriate permissions and PBI Desktop is happy with the state of the files.

 

Thanks

saj Regular Visitor
Regular Visitor

Re: Power BI on premise - connect to on premise Sharepoint folder - Access to the resource is forbid

Hi @v-yuezhe-msft

We've done some more digging. We have a development box and I am able to connect onto a Sharepoint Folder.

 

Our live infrastructure has load balancers and mirrored servers so what do we need to do to access folders on our LIVE Sharepoint infrastructure?

 

Thanks

 

 

 

 

Moderator v-yuezhe-msft
Moderator

Re: Power BI on premise - connect to on premise Sharepoint folder - Access to the resource is forbid

@saj,

In terms of UNC path, I suspect the issue is caused by the live infrastructure. What is the result if you configure load balancers and mirrored servers for development box?

Regards,
Lydia

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.
saj Regular Visitor
Regular Visitor

Re: Power BI on premise - connect to on premise Sharepoint folder - Access to the resource is forbid

Hi @v-yuezhe-msft I do not have the resource to configure our development environment as a test. Can you advise or point me in the direction to confirm Power BI supports on premise Sharepoint folders in a standard load balanced / mirrored infrastructure? Thanks
slarkin Regular Visitor
Regular Visitor

Re: Power BI on premise - connect to on premise Sharepoint folder - Access to the resource is forbid

Saj,

 

Did you ever figure out a solution to this problem? We are having the exact same problem.

 

Thanks.

 

Sara

saj Regular Visitor
Regular Visitor

Re: Power BI on premise - connect to on premise Sharepoint folder - Access to the resource is forbid

Hi @slarkin

 

Not yet, we only had a small requirement so for the moment we've hacked a solution. I've written a batch script that recreates the files on a network share then the PBIX points at the copy.

 

Far from ideal but we couldn't justify much more effort at this stage. We'll revisit it if we ever get more demand.

 

There was a thought that it could be to do woth the site having 2 authentication methods turned on. Browsers can cope as can Explorer but Power BI whinged.

 

I'll keep my eye out for solutions.

 

Thanks

 

 

slarkin Regular Visitor
Regular Visitor

Re: Power BI on premise - connect to on premise Sharepoint folder - Access to the resource is forbid

Just FYI, for anyone that is reading this thread.

 

I opened a support ticket with Microsoft earlier in February. We got someone to meet online with us and our SharePoint administrator. We shared a screen and let him experiment. He was able to reproduce the errors on our system, and said he'd have to do more research and would get back to us the following week. I didn't hear from him the following week, so I sent an email. He replied that someone else had been assigned to the problem (just great :/ now we have to waste time explaining the problem again). I have not heard from the new tech support person. So, I sent another email today along with the link to this discussion.

 

If we find a solution, I'll post it here. Just for reference: we are using on-premises SharePoint 2013 and on-premises only Power BI Report Server. We do not have the Office 365 tenant enabled, but our security and infrastructure people are looking at enabling sync between local AD and Azure AD.

 

 

saj Regular Visitor
Regular Visitor

Re: Power BI on premise - connect to on premise Sharepoint folder - Access to the resource is forbid

@slarkin many thanks for the update.

 

We've had bigger fish to fry so hacked a temporary solution by copying the files out of SP and onto 'normal' share so we can get the PBI to refresh.

We've done this as we currently only have 1 pbix needing this functionality. If we can get to the bottom of the issue that would be brilliant.

 

Thanks again.