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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

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
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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