← awmium/blog
blog/fabric-app-who-sees-what.mdread-only
---
date: 2026-11-08
read: 10 min
---

Who sees what

In a Fabric app, the viewer is the security model

Once a Fabric app works, the questions move from building it to who may use it. When someone opens the app, whose access does it use? What do we grant so it works for a colleague, and what else does that grant hand over? And does the row-level security already in the model still hold?

All three have the same short answer: the viewer. This post is what that means in practice, including the places where the viewer is not the one deciding, and it ends with the review I run with a team before an app goes live.

Same app, different data: the North manager opens it and sees North’s numbers, the South manager opens the same app and sees South’s, because every query runs as the person looking.
Same app, different data: the North manager opens it and sees North’s numbers, the South manager opens the same app and sees South’s, because every query runs as the person looking.

Every query runs as the person looking

A Fabric app reads a semantic model, a warehouse, a lakehouse or another SQL database through a connector, and a connector has no access of its own. It uses delegated access: each request carries the signed-in person’s identity and succeeds only if that person could have made it themselves. Microsoft’s starter prompt for the data app template even tells the coding agent not to add credentials, access tokens or a second sign-in flow. A project on that template’s current default release sends its model queries through the Fabric page it runs in rather than a connector, and the same holds: the app adds no access of its own.

For an app that reads a semantic model, that settles most of who sees what. The DAX the app sends runs as the viewer, so the model’s permissions and row-level security apply as they do anywhere else in Power BI. Two people can open the same app at the same address and get different numbers. The app adds no access and takes none away, which is also why sharing it is not enough, and why the person who built it is the worst person to test it.

Whose access each part of a Fabric app uses: connectors and the app’s own tables act as the viewer, functions act as the app item’s owner, hosted files go to everyone who can open the app, and anonymous requests carry no identity at all.
Whose access each part of a Fabric app uses: connectors and the app’s own tables act as the viewer, functions act as the app item’s owner, hosted files go to everyone who can open the app, and anonymous requests carry no identity at all.

Two grants, on two different items

To use an app that reads a model, a person needs two grants:

  • Run and interact on the app. It lets them open the app and call its backend. Everyone with a role in the app’s workspace has it by default; anyone else needs the app shared with them.
  • Read and Build on the semantic model. Microsoft’s page for the data app template lists both as prerequisites, along with the Semantic Model Execute Queries REST API tenant setting. Without both, the person’s queries are refused.

Nothing passes from the first grant to the second. Share only the app and a colleague can open it and sign in, then watch every visual fail. When an app works for its builder and not for a colleague, check this first.

The two grants: Run and interact on the app item, Read and Build on the semantic model, and nothing passing from one to the other.
The two grants: Run and interact on the app item, Read and Build on the semantic model, and nothing passing from one to the other.
whoon the appon the model
uses itRun and interactRead and Build
deploys new versionsEditRead and Build, to test with real data
owns the modelRun and interactWrite, which comes only with Contributor or above on the model’s workspace

One trap sits in the workspace roles. A Viewer in the model’s workspace gets Read but not Build, so adding a colleague as a Viewer “to give them access” still leaves their queries refused. Grant Build explicitly, to a security group that matches the app’s audience.

The model can also live in another workspace. The connector names the model’s own workspace and item, and DAX queries reach it as long as the caller holds Read and Build on it. The same two grants apply, each made where its item lives, and Microsoft’s advice is to test with a user who holds both.

Build is a bigger grant than it sounds

Build was made for people who build on a model, and it still does all of that. Anyone you give Build can:

  • build new reports and composite models on it;
  • open it with Analyze in Excel;
  • export its underlying data;
  • query it over the XMLA endpoint from other tools;
  • see the fields its author hid.

An app that reads a model cannot avoid it, so every person who uses the app can also do everything on that list. The way I put it to a model owner: granting the app is granting the model, through every door Build opens.

What Build adds: with Read alone the app’s queries are refused; Read and Build makes the app work and also opens new reports, Analyze in Excel, export, XMLA and hidden fields, all still filtered by row-level security.
What Build adds: with Read alone the app’s queries are refused; Read and Build makes the app work and also opens new reports, Analyze in Excel, export, XMLA and hidden fields, all still filtered by row-level security.

What makes that acceptable is that row-level security does not care which door someone used. For a person with Read or Build, the model’s RLS roles decide what they read, in the app, in Excel, over XMLA and in an export. Withholding Build was never the control: Microsoft’s own guidance is that Read without Build should not be relied on to secure sensitive data.

Two things follow. Hidden is not secured: a column that must stay private needs object-level security, not the hidden flag. And the app’s audience is the model’s audience, so have the model owner approve the app’s security group as if it were a request for the model, because it is one.

Write sees every row

Row-level security filters people who hold Read or Build. It does not filter people who hold Write, and Write is not granted item by item: it comes with the Admin, Member and Contributor roles on the model’s workspace. Anyone in those roles reads every row.

This is how apps fool their builders. The developer usually holds Contributor or above, so the app shows them every number and looks finished. A real user then sees their own region, which is right, or nothing, which is what typically happens to anyone in no RLS role. To the app, no rows looks like a quiet day rather than an error.

Who row-level security filters: three people open the same app and ask for revenue by region; the North manager in the North role sees North, a new starter in no role sees nothing, and a developer with Contributor on the workspace sees every region.
Who row-level security filters: three people open the same app and ask for revenue by region; the North manager in the North role sees North, a new starter in no role sees nothing, and a developer with Contributor on the workspace sees every region.
tip Test as a real person

Before go-live, sign in with a test account that holds only what a real user will hold: Run and interact on the app, Read and Build on the model, and one RLS role. Microsoft’s connector guidance asks for the same. Then take the account out of the role and check that the app explains the empty answer.

When the app keeps its own data, the code decides

In an app with its own tables there is no model to lean on. The rules live in the code, in a @role line next to each table, and each rule says four things: which role, which actions (create, read, update, delete, or all of them), which rows (a condition that compares the signed-in person’s id or email with a column), and which fields. The built-in roles are authenticated, anyone signed in through Fabric, and anonymous.

One rule, read aloud: who it is for, what they can do, which rows and which fields, and the plain sentence it adds up to.
One rule, read aloud: who it is for, what they can do, which rows and which fields, and the plain sentence it adds up to.

Fabric compiles these rules when the app deploys and enforces them on every request, including requests that never touch the website. The docs are explicit that the front end is not a boundary, because a caller can reach the app’s data address without it. A filter in the website is a convenience; the rule on the table is the security. The same rules can sit on tables read through a warehouse or SQL database connector, on top of the person’s own access to that source.

Review these rules the way you would review RLS: line by line, with someone who did not write them. A rule that gives every signed-in person every action is fine for a proof of concept and fails the review below for anything wider. And whoever can deploy the app can rewrite the rules, so in an app with its own data, Edit is the closest thing to Write on a model.

Three places the viewer is not the one deciding

Everything so far follows the viewer. Three parts of an app follow something else, and each gets its own line in the review.

  1. Functions. When an app’s server code reaches other Azure or Fabric resources, it does so as the app identity, which for current Fabric apps is the owner of the app item. A function reaches whatever that owner has been granted, not what the person who clicked could reach. Its reads and writes to the app’s own tables still run as the caller under the same rules, and a semantic model is not reachable this way at all. Choose the item’s owner on purpose, and grant that identity only what the functions need.
  2. Files the website ships. Protected hosting serves the website’s files to people who are signed in and allowed to open the app; public hosting serves them to anyone with the address. Either way, whatever sits inside those files goes to everyone who can fetch them, with no RLS and no rules. That covers keys pasted into front-end code (the docs say never) and data: a snapshot shipped inside the website is published to the app’s whole audience. Keep hosting protected unless the files are public by design.
  3. Anonymous access. A table can grant operations to the anonymous role, open to anyone who can reach the app, signed in or not. It only works if a tenant admin has switched on Anonymous data access in the Fabric apps tenant settings, which is off by default. Microsoft’s guidance is read or create alone, on data that is truly public: a public catalogue, or a feedback form that accepts entries and shows nobody the old ones. I keep the setting off until an app truly needs it.

Who can change it, and who can pass it on

The app item has three permission levels. Run and interact opens and uses the app. Edit deploys code, changes the schema and settings, and manages the app’s child items. Reshare gives others access, and the docs say it needs the admin role on the workspace.

Check Edit both ways: granted on the item, and inherited from a workspace role, which the Manage permissions page lists too. Keep people who only use the app out of the workspace roles that edit content. Two more details catch teams out. Taking access away can take up to two hours to reach someone already signed in. And a shared app does not appear under Shared with me, which lists only Power BI items, so send people the link yourself.

What to take away

  • Connectors hold no access of their own. They run as the person looking, so the model’s permissions and RLS apply as they do anywhere else in Power BI.
  • A model-reading app needs two grants: Run and interact on the app, Read and Build on the model. Build also opens export, Excel and XMLA, and RLS still filters it; Write skips RLS.
  • In an app with its own data, the rules are code on each table, and whoever holds Edit can change them.
  • Functions, hosted files and the anonymous role decide without the viewer.

The review I run before go-live, with the model owner, the workspace admin and the developer in the room and a test account signed in:

checkwhere to lookwhat good looks like
1. Who can open the appthe app’s Manage permissions and workspace rolesone security group with Run and interact; users hold no workspace role above Viewer
2. Who can query the modelthe model’s Manage permissionsRead and Build for that same group, approved by the model owner
3. Who RLS filtersthe model’s Security page and workspace rolesevery app user is in an RLS role; only people who must see everything hold Contributor or above
4. What a real user seesthe deployed app, as the test accountthe numbers match the role; outside every role, the app explains the empty answer
5. The rules on the app’s own tablesthe @role lines in the codea rule on every table that you can read aloud; denied actions tested
6. Anything publicAnonymous data access, anonymous roles, hosting accessoff and protected, unless a public page is the point; then read or create only
7. Functionsthe functions code and the app item’s owneran owner chosen on purpose, holding only what the functions need
8. Who can change itEdit and Reshare, direct and inheritedEdit only for the people who deploy; removals planned around the two-hour delay

Next in this series, FA-B-04, From editor to workspace: the working loop from local code to a deployed app, and the one file that decides which app a deploy overwrites.

note Checked against the docs

Fabric Apps is in preview, so details move. Everything here was checked on 23 October 2026 against Microsoft’s Fabric Apps documentation and the Power BI semantic model permissions page. Where the two disagree later, the docs win.

read# Who sees what[ ] sections2,322 words · 10 minTop