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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
erikjanpoelen
Frequent Visitor

REST API using Windows authentication

Hello everbody,

 

I would like to do a GET to a REST API to retrieve data in html or json.

 

The REST API works with Windows Authentication. It does not ask for a username and password but simply checks your windows account. That would be the following in Power BI:

erikjanpoelen_0-1669651634040.png

 

The goal is that whenever an end-user is using this Power BI report through a workspace, they will only see the data (from this REST API) to which they have access to. Is that possible?

 

Using the WEB URL connector I can retrieve the data, but I think that's a simply import, so it will only use my credentials and access permissions are not applied for each user.

 

Please help!

1 ACCEPTED SOLUTION
v-jingzhang
Community Support
Community Support

Hi @erikjanpoelen 

 

I'm afraid this is not possible. Since the data source is a REST API, it only supports Import connection. You need to use your credentials to import all data into the data model first. Then use these data to create a report. In Import mode, the data is always loaded into the report with a single credential. It cannot use end report users' credentials to connect to the data source. 

 

To restrict the data access for end users, you need to import data into the model first, then set up Row-Level Security on the report. Please refer to the following docs to get more information about RLS. 

Restrict data access with row-level security (RLS) for Power BI Desktop - Power BI | Microsoft Learn

Row-level security (RLS) with Power BI - Power BI | Microsoft Learn

 

The Dynamic RLS can restrict data access according to report users' login accounts. There are many blogs and videos introducing how to set up a dynamic RLS. Below is a video for your reference.

How to Apply DYNAMIC ROW-LEVEL SECURITY (RLS) with Power BI - Bing video

 

Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.

View solution in original post

1 REPLY 1
v-jingzhang
Community Support
Community Support

Hi @erikjanpoelen 

 

I'm afraid this is not possible. Since the data source is a REST API, it only supports Import connection. You need to use your credentials to import all data into the data model first. Then use these data to create a report. In Import mode, the data is always loaded into the report with a single credential. It cannot use end report users' credentials to connect to the data source. 

 

To restrict the data access for end users, you need to import data into the model first, then set up Row-Level Security on the report. Please refer to the following docs to get more information about RLS. 

Restrict data access with row-level security (RLS) for Power BI Desktop - Power BI | Microsoft Learn

Row-level security (RLS) with Power BI - Power BI | Microsoft Learn

 

The Dynamic RLS can restrict data access according to report users' login accounts. There are many blogs and videos introducing how to set up a dynamic RLS. Below is a video for your reference.

How to Apply DYNAMIC ROW-LEVEL SECURITY (RLS) with Power BI - Bing video

 

Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.