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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
kedarp
Frequent Visitor

Role detection in embed RLS

Hi All,

I am beginner in power bi and trying to embed reports for customers using onboarding tool https://app.powerbi.com/embedsetup .

 

I have downloaded sample app and .net code generated by the tool for my reports.

 

When Role and username values are provided in the UI form, RLS works well.

 

My queries here are:

1)Will it be possible to get username and assigned role dynamically at runtime based on logged in user instead of passing it as static/form values? 

2) Is it possible to dynamically generate embed token along with role and username values?

 

Any pointers here are really appreciated.

 

P.S : I have refered https://docs.microsoft.com/en-us/power-bi/developer/embedded-row-level-security as well.

Here also roles are passed as static values and not dynamic ones.

 

Thanks in advance for your help,

Kedar

0 REPLIES 0

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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