Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowData Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more
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
Solved! Go to Solution.
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.
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.
Regards,
Xiaoxin Sheng
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.
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.
Regards,
Xiaoxin Sheng
Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.
Check out the May 2026 Power BI update to learn about new features.