top of page

Power BI Copilot and row-level security: RLS filters only Viewers

4 hours ago
8 min read
Power BI Copilot and row-level security cover on a teal data skyline: RLS filters only Viewers. Data Studios original cover

Copilot in Power BI answers with the signed-in user's permissions, and row-level security (RLS) and object-level security (OLS) defined on the semantic model keep applying to those answers. Microsoft states this in its documentation for Microsoft Copilot in Power BI and Fabric, updated on November 23, 2026, and in its page on Fabric IQ in Microsoft 365 Copilot Chat. Both pages were checked on November 27, 2026, together with the Power BI pages on RLS, OLS, Copilot requirements and Q&A limitations.


The rule that decides what each person sees sits in the RLS documentation, and it surprises many report owners. RLS restricts data only for users with the Viewer role in a workspace. Workspace Admins, Members and Contributors have edit permission on the semantic model, so RLS does not apply to them, and the same holds for OLS. A Contributor who asks Copilot for total sales gets the total for every region, while a Viewer in a regional role gets the figure for that region only.


Two more documented details shape the answers. A Viewer who belongs to no RLS role typically sees no data at all, and a Viewer who belongs to several roles sees the union of their rows, because roles are additive. The worked example further down shows the totals five different users would get from the same question.


··········


⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣

WHAT MICROSOFT DOCUMENTS ABOUT COPILOT AND RLS.


The page for Microsoft Copilot in Power BI and Fabric, a preview experience, says that Copilot can only access Power BI and Fabric content the user is authorized to view, and that RLS and OLS on Power BI semantic models continue to apply. The page for Fabric IQ in Microsoft 365 Copilot Chat goes further and says that answers only reflect the data the user has permission to see. Both pages require that the user has permission and licensed access to the reports and semantic models in question.


Copilot inside a Power BI report uses the Q&A engine to build queries. The page on asking data questions with Copilot says Q&A must be enabled on the model for that reason, and the Copilot privacy page repeats the requirement. The Q&A limitations page states that row-level security is supported in every configuration it lists, and that object-level security is supported for models hosted in the Power BI service. OLS is not supported for models hosted in Azure Analysis Services or on-premises SQL Server Analysis Services, so a live connection to those models is a case to test before rollout.


The Copilot pages do not name a workspace role or semantic model permission that changes how RLS behaves for Copilot. The general RLS and OLS rules therefore decide the outcome, and those rules are summarized in the next table.


........


User type

Workspace or item access

RLS applies

OLS applies

Viewer

Viewer role or shared read access

Yes

Yes

Viewer with Build

Viewer plus Build on the model

Yes

Yes

Contributor

Edit permission on the model

No

No

Member

Edit permission on the model

No

No

Admin

Edit permission on the model

No

No

Viewer in no role

Read access, no RLS role

No rows returned

Not applicable


........


The Build row matters for self-service teams. Microsoft's RLS documentation states that RLS still applies even when Viewers receive Build permission on the semantic model, so granting Build to let analysts create their own reports with Copilot does not widen what they can see.


··········


POWER BI PERMISSIONS NEEDED FOR EACH COPILOT TASK.


Access rights also decide which Copilot features a person can open. The Copilot introduction page, last updated on November 17, 2026, lists the permission each task needs, and the requirements differ from the ones that govern RLS.


........


Copilot task in Power BI

Permission documented

Summarized insights in the report pane

At least read access to workspace, report or app

Narrative visual or Copilot-generated report

Edit access to workspace or report, or Build on the model

Web modeling with Copilot

Write access to the semantic model

Verified answers (Prep data for AI)

Authoring permission on the semantic model

App-scoped Copilot

Limited to the app's content and the user's app permissions


........


A report author with Build permission who sits in the Viewer role can therefore generate a report page with Copilot and still see only the rows the RLS role allows. A colleague with the Contributor role who opens the same page sees every row. The license and capacity side of the same features, including the F2 or P1 minimum and the tenant switch, is covered in our breakdown of Copilot in Power BI requirements for capacity, licenses and regions.


··········


OBJECT-LEVEL SECURITY AND COPILOT ANSWERS IN POWER BI.


RLS filters rows, and Microsoft points out a limit that follows from it. If a user has access to a row, they can see all the columns of that row. A margin or salary column stays visible inside the permitted rows unless OLS secures it.


OLS is defined inside model roles and set through tools such as Tabular Editor or TMDL, with the table or column permission set to none. For Viewers without the permission, the documentation says it is as if the secured tables or columns do not exist, and every report visual that uses such a field returns a message that the field cannot be found. OLS is not supported with Quick insights visualizations, smart narrative visualizations or the Excel data types gallery. The OLS page does not describe Copilot behavior directly, so the practical test is to sign in as a Viewer in the OLS role and ask Copilot about the secured column.


··········


[[ADPLUS_300x250_1]]

WORKED RLS EXAMPLE: FIVE USERS ASK COPILOT FOR TOTAL SALES.


The following data and users are illustrative. A Sales table holds eight orders in three regions, and the model has three RLS roles, East, West and Central, each filtering the Region column. The West role also uses OLS to hide the Margin column.


........


OrderID

Region

Category

Amount (USD)

Margin (USD)

1001

East

Laptops

12,400

3,100

1002

East

Monitors

5,600

1,120

1003

West

Laptops

15,800

4,266

1004

West

Accessories

2,300

920

1005

Central

Laptops

9,900

2,475

1006

Central

Monitors

4,700

987

1007

West

Monitors

6,100

1,281

1008

East

Accessories

1,800

702


........


The role filter for West is a DAX expression on the Sales table. A dynamic version, documented by Microsoft, compares a user column with the signed-in user's principal name, which avoids one role per region.


-- Static role "West", filter on table Sales
[Region] = "West"

-- Dynamic role, filter on a table that maps users to regions
[UserEmail] = USERPRINCIPALNAME()

Each user asks Copilot the same question. Under the documented rules, the correct answers are the ones below, computed in Python from the table above.


........


User

Access

Rows visible

Total sales (USD)

Margin question

Ana

Viewer, role West

3

24,200

Hidden by OLS

Ben

Viewer with Build, role East

3

19,800

4,922

Chloe

Viewer, roles East and Central

5

34,400

8,384

Dev

Viewer, no role

0

No data

No data

Eva

Contributor

8

58,600

14,851


........


Ask Copilot: What is the total sales amount, and which category sold the most?

Laptops is the top category for every user who sees data, so a different answer to the second half of the prompt points to a problem with the question or the model. The pandas code below reproduces the totals, and an admin can run the same logic against an export of the fact table to build an answer key before testing Copilot.


import pandas as pd

sales = pd.DataFrame({
    "Region": ["East", "East", "West", "West", "Central", "Central", "West", "East"],
    "Amount": [12400, 5600, 15800, 2300, 9900, 4700, 6100, 1800],
})
roles = {"Ana": ["West"], "Ben": ["East"], "Chloe": ["East", "Central"], "Dev": []}
for user, regions in roles.items():
    print(user, sales[sales["Region"].isin(regions)]["Amount"].sum())
print("Eva", sales["Amount"].sum())

The script prints 24200, 19800, 34400, 0 and 58600. The 0 for Dev corresponds to the empty result Microsoft documents for users outside every role.


··········


TESTING COPILOT WITH RLS ROLES BEFORE ROLLOUT.


The quickest check most teams reach for is Test as role in the Power BI service, and the RLS documentation says it cannot validate every part of a report. Q&A visualizations, Quick insights visualizations and Copilot are named among the aspects it does not cover. The same page notes that USERPRINCIPALNAME() returns the tester's own UPN during Test as role, and that the feature does not work for DirectQuery models with single sign-on enabled.


A reliable test therefore uses real accounts. A test user is added to the workspace as a Viewer, placed in one RLS role, and signs in to ask Copilot the questions from the answer key. A second test user with no role confirms that the model returns nothing. Service principals cannot be added to an RLS role, according to the RLS page, so an embedded scenario that relies on a service principal needs an effective identity for per-user filtering.


Storage mode changes where the filter runs. For DirectQuery models, the security roles in the data source are used. Direct Lake models support RLS, and if a DAX query falls back to DirectQuery mode, the RLS filters still apply. Three more documented behaviors affect what testers see:


........


Behavior

What Microsoft documents

Report filters and slicers

Copilot data questions do not apply them to the answer

Data freshness

Answers reflect the last successful model refresh

Repeated prompt

Same prompt on an unchanged model within 24 hours is answered from cache


........


The Copilot introduction page does not say whether that 24-hour cache is kept per user. Testing the same prompt with two accounts in different roles is the direct way to confirm that each receives its own filtered figure. Model authors who want Copilot to interpret questions consistently can add AI instructions and verified answers, as described in our walkthrough on preparing a Power BI semantic model for Copilot.


··········


⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁤

COPILOT ENTRY POINTS AND DATES THAT AFFECT RLS PLANNING.


Power BI now has several Copilot entry points. Copilot inside a report, Microsoft Copilot in Power BI and Fabric, and Fabric IQ in Microsoft 365 Copilot Chat all fall under the same user-permission model in the documentation reviewed. The Microsoft 365 Copilot page adds that Power BI data answering requires Azure OpenAI processing in the United States or the European Union, with a cross-geography tenant setting for other tenants.


Two dates change the set of features to test. The Copilot introduction page says the standalone Power BI Copilot and app-scoped Copilot are being retired by the end of January 2027, while Copilot within reports is not affected, a change covered in our report on the Power BI November 2026 update and the standalone Copilot retirement. The Q&A limitations page states that Q&A experiences are going away in February 2027 with Copilot as the replacement, and the capacity side of that move is set out in our piece on the Power BI Q&A retirement and what Copilot needs.


··········


POWER BI COPILOT RLS: WHAT WORKSPACE ROLES DECIDE.


Microsoft documents that Copilot answers with the signed-in user's permissions and that RLS and OLS on the semantic model keep applying. The RLS and OLS pages then set the boundary with the largest practical effect. Only Viewers are filtered, Build permission does not lift the filter, users outside every role see nothing, and several roles add up.


Workspace design is the control that remains with the customer. Anyone who should see filtered data in Copilot belongs in the Viewer role or receives read access through an app or sharing, never Contributor, Member or Admin. Columns that must stay hidden inside permitted rows need OLS, and models in Azure Analysis Services or SQL Server Analysis Services lose OLS support in Q&A, which Copilot relies on.


The documentation reviewed does not state whether the 24-hour response cache is separated by user, and the OLS page does not describe Copilot's behavior with secured columns. Test as role does not validate Copilot, so both points are confirmed with real Viewer accounts before a regional or HR model is opened to Copilot.


··········


FOLLOW US FOR MORE.


·····


DATA STUDIOS


·····


datastudios.org


bottom of page