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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
ctoscher
Helper I
Helper I

How to secure web-embedded reports with RLS?

Researching methods for embedding reports in web applications, the results are endless with so much documentation that it's confusing.

There are way too many ways to connect applications and secure them, and some of the documentation gives different steps to achieve same results.

What documentation should be followed for embedding reports into a web application and securing it for RLS?

We're using Node.js for development and have Power BI Premium per capacity licenses; do we also need to purchase Embedded licensing? It's kinda confusing.

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @ctoscher,

You can take a look at the following links to know more about embedded features:

tutorial of embedded configurations:

Embed content in your Power BI embedded analytics application - Power BI | Microsoft Docs

Embedded contents with RLS:

Using row-level security with embedded content in Power BI embedded analytics - Power BI | Microsoft...

BTW, premium licenses already include the power bi embedded features. You do not need to purchase it for embedded feature usage.

Capacity and SKUs in Power BI embedded analytics - Power BI | Microsoft Docs

Regards,

Xiaoxin Sheng

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hi @ctoscher,

You can take a look at the following links to know more about embedded features:

tutorial of embedded configurations:

Embed content in your Power BI embedded analytics application - Power BI | Microsoft Docs

Embedded contents with RLS:

Using row-level security with embedded content in Power BI embedded analytics - Power BI | Microsoft...

BTW, premium licenses already include the power bi embedded features. You do not need to purchase it for embedded feature usage.

Capacity and SKUs in Power BI embedded analytics - Power BI | Microsoft Docs

Regards,

Xiaoxin Sheng

Thank you Xiaoxin,

 

We've been working through this documentation, but have reached a point where we're not sure how to use the API because it seems to contradict the documentation (Node.js).

 

In the app owns data (embed for customers) documentation, Step 1 - Select your authentication method states that the Azure AD delegated permissions are not required for Service principal method of authentication. In the Master user section, it states that a master user or an administrator has to grant consent for your app to access Power BI REST API permissions (also known as scopes).

 

In the Power BI Developer Samples (here is the link to actual file and line of code) it uses config.scope. The config file has a scope of https://analysis.windows.net/powerbi/api.

 

We are not exactly sure what we need to put here in place of the scope value in the json file as the documentation states it's not required, but the code clearly requires a scope value to be set.

 

Thank you,

Colton

Anonymous
Not applicable

Hi @ctoscher,

As you said, this scope parameter seems not needed for the embedded function usage. In my opinion, I suppose they may be used for other types of azure features/services. (e.g. audit or activity logs of user operations)
Regards,
Xiaoxin Sheng

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

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