Identity and workspace roles
Identity is not authorization
Row-level security (RLS) restricts which model rows a consumer can query. Microsoft Entra ID identifies the user; workspace and item grants determine whether they can use the model; RLS then determines their permitted rows. These are separate decisions. A report page filter is a convenience, not a security boundary. This chapter uses an isolated Import model with six fictional sales rows.
Determine the effective permission
| Effective model access | Expected RLS behavior in this model |
|---|---|
| Read with an RLS role | Role filters apply |
| Viewer plus Build | Role filters still apply |
| Read or Build without any RLS role | No data access when RLS is defined |
| Write (including workspace Admin, Member, Contributor) | Not constrained by RLS |
Build enables supported model reuse, including creating reports and Analyze in Excel; Reshare enables sharing within applicable policies. Neither is equivalent to Write. Actual access also depends on report/item grants, licensing, tenant policy and group memberships. Check effective access on the workspace that owns the model, not just the report workspace. A user with overlapping group grants may have more access than the direct assignment suggests.
Example 1 — a consumer who can build
The North sales viewer has model Read, Build and the DynamicRegion role. Their mapping grants North. Of the six rows in labs/rls/sales.csv, only S01 and S02 are allowed; revenue is USD 160. Build does not expand that set to all regions. An authorized Excel connection must use the same restricted model identity; its availability is a separate permission and licensing check.
Example 2 — elevated access changes the boundary
The synthetic Contributor has Write and the same North mapping. RLS is not the boundary for this editor: all six rows totaling USD 400 are accessible in the model. Remove unnecessary elevated grants and check indirect membership before treating this person as a restricted consumer. A Read-only user without a role is denied model data even if they can open a report shell. Compare cases C01, C04 and C08 in the lab.
Protect the entire data path
Direct database access is evaluated by the database and source identity, independently of model RLS. Import refresh uses its configured source identity rather than each viewer automatically inheriting source RLS. In supported DirectQuery SSO setups, test the actual source identity as well. A file downloaded earlier cannot be recalled by changing a model role. Use least privilege, approved sharing and source controls, not hidden pages, filters or a public report link.
Practice and documentation
Classify the consumer, editor and no-role cases. Draw the chain from Entra identity to model permission to effective role to visible rows. Explain why granting Write is not a suitable fix for a consumer who needs Build.
Documentation reviewed 2026-11-29 (page text or search extracts); native execution and installed build NOT RUN.
- https://learn.microsoft.com/en-us/fabric/security/service-admin-row-level-security
- https://learn.microsoft.com/en-us/power-bi/collaborate-share/service-roles-new-workspaces
- https://learn.microsoft.com/en-us/power-bi/connect-data/service-datasets-permissions
- https://learn.microsoft.com/en-us/power-bi/connect-data/service-datasets-build-permissions
- https://learn.microsoft.com/en-us/power-bi/connect-data/service-datasets-manage-access-permissions