Sub topic 2
Row-level security for recipients
Assume you know the Power BI service, semantic models, workspace roles, and basic Teams navigation. This chapter connects data filtering to workspace apps and Teams sharing.
Row-level security for recipients
Row-level security (RLS) limits the rows a person can see while using a report. An administrator defines a role on the semantic model, then assigns users or security groups to that role.
For example, create a role on a table containing an Email column:
[Email] = USERPRINCIPALNAME()USERPRINCIPALNAME() returns the signed-in user's identity. The filter keeps rows whose email matches that identity. Test the role in Power BI before publishing. RLS does not replace item permissions. A recipient still needs permission to open the report, and RLS does not protect data exposed elsewhere in the model.
Publishing a workspace app
A workspace app packages selected reports, dashboards, and navigation for consumers. In the workspace, select Create or update app, choose the content, configure navigation, and publish it. Consumers normally receive a read-focused experience instead of workspace editing access.
Publishing an app does not automatically grant access to its semantic models in every configuration. Verify the app's audience permissions and the underlying data access. If the model uses RLS, assign the audience members to the appropriate model roles.
Audiences and managing app access
An app audience is a named group of app consumers. You can create separate audiences, show different reports to each audience, and grant access to users or security groups. Use audiences when different departments need different navigation or content.
Keep app access and RLS assignments aligned. An audience can determine which content someone can open, while RLS determines which rows that person can see.
Sharing to Teams from Power BI
Power BI supports sharing a report in a Teams chat or channel, adding a report as a channel tab, and using the Power BI app in Teams. These methods surface the content where people work, but they do not bypass Power BI permissions, licensing, or RLS.
Use a chat share for a focused conversation, a tab for a persistent team workspace, and the Power BI app for discovering multiple reports. Confirm that every recipient belongs to the intended audience and can access the workspace or app.
Exercise
A user can open an app but sees no rows. Which two areas should you check first?
Show answer
Check the user's RLS role assignment and verify that the identity value matches the model's Email values.