Forum Discussion

sri_palagummi's avatar
sri_palagummi
Regular Visitor
9 months ago
Solved

Best practices for implementing row level security using effective identity

Hi all - We are planning to implement row level security for our reports. The reports will be embedded in a portal that will be visible externally to our customers. Customers log in to the portal to...
  • grazitti_sapna's avatar
    9 months ago

    Hi sri_palagummi

    We’ve implemented row-level security (RLS) using effective identity for our embedded reports too. Basically, instead of managing roles directly in the database, we pass the user’s identity (like email or customer ID) through the access token when they log in to our portal. This way, Power BI knows exactly which data each user should see.

    A few best practices we follow:

    • Always make sure the RLS roles are defined and tested in Power BI Desktop before publishing.

    • Use test accounts to verify that each customer only sees their own data.

    • Keep a “default or restricted” view for any unidentified users, so even if something breaks, no data is overexposed.

    🌟 I hope this solution helps you unlock your Power BI potential! If you found it helpful, click 'Mark as Solution' to guide others toward the answers they need.

    💡 Love the effort? Drop the kudos! Your appreciation fuels community spirit and innovation.

    🎖 As a proud SuperUser and Microsoft Partner, we’re here to empower your data journey and the Power BI Community at large.

    🔗 Curious to explore more? [Discover here].

    Let’s keep building smarter solutions together!