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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
hezsdfvz
New Member

PowerBI AppsOwnData - Configure Row Level Security

hey,

 

sorry for probably a stupid question.

 

im really new to powerbi embedded, i had my first project not a while ago, everything went well.

 

but now - the customer wants to apply RLS 

 

im using service principle and the users are autenticating thru the customer's website. 

 

for the life of me, i cant figure out the architucture for this thing.

 

i have a couple of questions:

 

1. how do i know which user is in the sessions?

2. since its service principle, how do i assing a role to the user?

3. where in the .NET apps own data solution do i need to insert a new code in order to apply RLS? 

 

 

i really cant figure it out, i tried searching and looking on the net but seems to hard to find this specific related topic. 

 

please help me... thanks alot 

1 ACCEPTED SOLUTION
v-shex-msft
Community Support
Community Support

HI @hezsdfvz,

As the document mentions, current it seem not able to use RLS with power bi embedded report that use service principal authorization mode. 

Using cloud based row-level security with embedded content in Power BI embedded analytics - Power BI...

Generate an embed token in Power BI embedded analytics - Power BI | Microsoft Learn

Notice: Service principal is not an effective identity to sign to power bi service.

Embed Power BI content in an embedded analytics application with service principal and an applicatio...

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

View solution in original post

1 REPLY 1
v-shex-msft
Community Support
Community Support

HI @hezsdfvz,

As the document mentions, current it seem not able to use RLS with power bi embedded report that use service principal authorization mode. 

Using cloud based row-level security with embedded content in Power BI embedded analytics - Power BI...

Generate an embed token in Power BI embedded analytics - Power BI | Microsoft Learn

Notice: Service principal is not an effective identity to sign to power bi service.

Embed Power BI content in an embedded analytics application with service principal and an applicatio...

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

Feb2025 NL Carousel

Fabric Community Update - February 2025

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