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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
gemidriver
Helper II
Helper II

Connect to Sharepoint List OnPremise - ADFS auth

i am trying to connect to our on premise sharepoint

i enter my URL as follows

https://sharepoint.domain.com.au/Site

i try my FQDN credentials and get Access to the resource is forbidden

 

we use ADFS authentication to access Sharepoint, what can i do to connect?

5 REPLIES 5
v-yuezhe-msft
Employee
Employee

@gemidriver,

Have you enabled Windows auth in your data source? Generally, we use Windows authentication to connect to on-premises SharePoint in Power BI Desktop.

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.

we use ADFS to authenticate to our on prem sharepoint site

 

 


@gemidriver wrote:

we use ADFS to authenticate to our on prem sharepoint site

 


We haven't found a way to authenticate using ADFS. The only way we've found to connect so far uses IWA.

 

Have you found a solution yet? 

SimonJF
Frequent Visitor

I believe this is a known issue - pretty sure this work around will achieve what you want to do:

 

Assumption 1: You are trying to connect to a Document Library

Select from Home Tab: Get Data > Blank Query

Click: Advanced Editor

Replace the default code with the below - obviously putting in your real url 🙂

This should then prompt you with a authentication dialog

After this you should be able to navigate the directory structure to the relevant Document Library.

 

 

let
  Source = SharePoint.Contents("https://sharepoint.domain.com.au/Site", [ApiVersion = 14])
in
  Source

 

 

 

Assumption 2: You are trying to access a SharePoint List

let
  Source = SharePoint.Tables("https://sharepoint.domain.com.au/Site", [ApiVersion = 14])
in
  Source

i tried both methods with various credentials and get the same results

Access to the resource is forbidden

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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