cancel
Showing results for 
Search instead for 
Did you mean: 
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
Join Arun Ulag at MPPC23

Join Arun Ulag at MPPC23

Get a sneak peek into this year's Power Platform Conference Keynote.

PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!