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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
July 2024 Power BI Update

Power BI Monthly Update - July 2024

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

PBI_Carousel_NL_June

Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.