The Security of Fabric and Power BI
At the time of posting this blog post it’s been a few weeks since I had the honor of presenting at the very first Experts Live Sweden 2026! My topic was “Security of Fabric and Power BI”, so perhaps a bit out of my comfort zone but I strongly believe that the best way to learn is to teach, so I took the challenge.
Clearly there will be much more on this topic than covered in this blogpost, so consider this more of a reference on what you could start looking into.
For each topic I have added an effort score from 1 to 10. It is my own rough estimate of how much work it takes to get it in place, not an official measure. I used this during the presentation to give the audience an idea on the effort, not only to implement but also to maintain the feature. Bear in mind that I only consider this from a security perspective here. User friendliness and actual security improvement is something for you to consider yourself. Sorry about that.
Table of contents
- Workspace access
- Power BI app access (audiences)
- Semantic model RLS
- Masking in measures
- OneLake security
- Tenant settings
- Sensitivity labels and protection policies
- Azure Key Vault
- Putting the pieces together
Workspace access
Effort: 2/10
Let’s start with the basics. Everyone who has a role in a workspace gets access to everything in it, so the first question is always: who really needs to be here? A Fabric workspace has four workspace roles: Admin, Member, Contributor and Viewer. Admins, Members and Contributors can edit content, and Viewers can only view content, meaning they can for example not even see that you have a semantic model in there, only the report. More on my feeling to the Viewer role below.

Consider the principle of least privilege. Give people the lowest role they need, and use security groups instead of individual users. If someone only needs to read reports, they are a Viewer, and maybe they don’t need to be in the workspace at all (more on that in the next section). Personally I avoid using the Viewer role. Letting the users in to the workspace is messy, they need to find what they need more manually and I mean… It’s called a “work”-space. It’s for work. You don’t invite the consumers to the work room with all the sticky notes and such on the walls.
To my great despair, stuff in a workspace can also be shared one by one through the Share button. While this might seem like a very simple way to only share specific items, it’s a bit of a nightmare to keep track of who have access to what after a while. You need to open Manage permissions on an item to see the links, everyone with direct access, pending requests and access through related items. You might be surprised by how many “People in your organization” links are out there. Read more about sharing items and managing permissions.

Power BI app access (audiences)
Effort: 3/10
Instead of giving report consumers access to the workspace, publish a workspace app. You choose which content goes into the app and group it into sections, and users get a clean navigation without seeing anything else in the workspace. This is how I personally prefer to share content, not using the Viewer role on the workspace.

The real security gem here is audiences. One app can have several audiences, and for each audience you toggle the eye icon to show or hide each report. Then you grant the audience to the entire organization or to specific users and groups. In my example the “Super Users” audience sees a different set of reports than the “Default” audience, and some reports aren’t visible to them at all. Btw, the first tab will always be named like the app and honestly that makes no sense, so I always rename it to “Default”.

For the user it is seamless. If they belong to several audiences, they get a tab for each one at the top, plus an “All” view. They only see what their audiences allow. Since you always start on the “All” view, most users doesn’t even think about that they might be part of multiple audience groups.

I know it’s quicker to simply add people by naming them in these audience groups, but try to use Security groups instead. It’s worth the effort. It only takes like 5 more minutes to set up but then you can delegate access management to for example the Servicedesk without them having to have access to the data or reports themselves.
Semantic model RLS
Effort: 6/10
So far we have a workspace where only makers have access to contribute in building our great reporting. We then have an App so that different users see different reports based on who they are. Now for the next section we’ll look at the actual data, so even though 2 separate users view the same report, they will still see different things since they have access to different rows.
Row-level security (RLS) lets one report show different data to different users. You define roles in Power BI Desktop under Modeling > Manage roles, choose a table and write a filter. You can use the simple editor (for example Customer equals “Customer A”) or switch to the DAX editor for more advanced rules.

Use View as to test the role. In my example, the full report shows 40 rows for five customers. When I view it as “Customer A”, it shows 12 rows and only that customer’s numbers.

Roles are additive. If a user is a member of both “Customer A” and “Customer B”, they see the data from both. That is handy, but it is also easy to give someone more than you intended.

Static roles like these work, but they don’t scale. Dynamic RLS with USERPRINCIPALNAME() and a mapping table lets one role filter data for every user. That also covers patterns like “show me only my own data” or “show me my team through a manager hierarchy”. After publishing, you add members (preferably security groups) to the roles in the Power BI service. Also note that RLS only applies to Viewers. Admins, Members and Contributors see everything.
Now I have made some other posts on the RLS topic here on the blog but I’ve made a quite comprehensive session on the matter at the Devon and Cornwall User group in January 2026. Final words on RLS – It doesn’t work the way I first though. When you start digging and you move past the simplest, static rules it get’s complicated fast! It’s actually a pretty interesting rabbit hole, just make sure you bring snacks because you might be there for a while.
Masking in measures
Effort: 7/10
OK at this point we have a pretty secure setup and users can only see the reports they should and the rows they have access to, but it’s still not enough. Sometimes we need to dynamically determine if you should see something on the fly! For example if we work with sensitive data where we need the consumers to focus on groups, not individuals.
While you are technically allowed to see all users in a certain country, you’re not allowed to see a groups with fewer than 5 users. Power BI is exceptionally good at slicing your data and work interactively, besides, calculating every single possible combination beforehand is not the best way to spend our time.
We can build in if statements into our measures of the Power BI model to determine if a metric should be shown in the context it’s in.
Meetings =
IF (
[_Number of users] >= 5,
SUM ( 'Meetings'[Meetings] ),
"---"
)

Any grouping with fewer than five users now show “—” instead of a number.

I gave this a higher effort score because you have to do it in every measure and keep it consistent. It is also important to understand that this is presentation security. This is however something you can use the Power BI MCP Server and an agent for solving, if you feel comfortable letting an AI agent get access to your data and model.
OneLake security
Effort: 6/10
So far everything has lived in the semantic model. With OneLake security we can move the security closer to the data. In a lakehouse, select Manage OneLake security and create a role. You choose the permission (Read or ReadWrite), which data the role covers (all of it or selected tables and folders), and the members. This means we can share access to the data outside of the Workspace much more granular!

Inside a role you can add column security, where you set each column to Read or Hide. In my demo the role hides the Product column completely, meaning I can share part of this data with someone who is totally allowed to create SQL queries against the data, as long as they don’t include that column, for example. This could be used on sensitive data, like social security numbers.

You can also add row security with a simple SQL predicate, for example SELECT * FROM dbo.sample WHERE Product = 'Bread'. Same principle as we had with RLS before, but further up in the chain.

The big win is that you define the rules once and they follow the data, whether users come in through Spark, the SQL analytics endpoint or a Direct Lake semantic model built on top of the lakehouse. Also watch the DefaultReader role that every lakehouse gets. It gives everyone with ReadAll access to all data, so you might want to adjust or remove it if you also want to protect access to the lakehouse from users in the same workspace. Personally I prefer to keep it and instead avoid inviting people to the workspace that should have limited access, instead sharing what they should get to them specifically.
Tenant settings
This section is a little bit different than the ones before. We’re switching gears to the governance admin and some of the settings that could improve your security posture. Here, each setting has it’s own effort score.
tenant settings can be found on the link there but you’ll only see it if you have Fabric Administrator-role.
Users can create Fabric items
Effort: 3/10
“Who can create workspaces” and “Who can create Fabric items” are good places to start. Scope them to a security group so new workspaces and items are created by people who know the rules. I’m all for creativity, but this is about security so I have that hat on for now. One way to look at this – If you require your users to request other things (a Team in teams or such) you already have the process and tools in place for another type of requests. You could also make a really simple short E-learning about what it means to be a maker in Fabric. Pass the learning course and get awarded with the ability to create your environment.

Enable anonymous data access for Fabric Apps (preview)
Effort: 1/10
This is a preview feature, for now. At the time of writing this post you also need Fabric Capacity to run fabric Apps, but during FabCon Barcelona in late September of 2026 it was announced that you will be able to run Fabric Apps in Power BI Pro workspaces too!
While this is a really great tool, from a security perspective you might be able to do some damage here considering you’ll let an AI vibe code a complete web app for you that will run in the Power BI Service and is able to, for example, execute notebooks and other artifacts it creates in the workspace.

Publish to web
Effort: 3/10
The export and sharing settings are where I would really urge you to think twice! Publish to web makes a report available to anyone on the internet without signing in. This setting is enabled by default so you have to actively disable it. I’ve come across more than 1 tenant where creative end users have found this feature and realized they could share their reports with other users of the organization this way, even though the other user doesn’t have Power BI Pro. Convenient, sure, but is it really a good idea to publish that sensitive financial report to the public internet for people to access anonymously?
You can turn off creation of new links first, then review Embed codes to see what has already been created and remove them one by one. You should also replace Everyone in the Organization with a security group, since there are some good use cases where you do want certain makers to be able to publish a public report to the web so you can embed it on the external website.

And here’s a sample of the embed codes. In my case, I want to have reports for demo purposes on the blog. If it looks like this in your environment and you didn’t know or intend for it, perhaps it’s time to do something about it.

Export to Excel, Export to .csv and Download reports
Effort: 5/10
These export options are all enabled for the entire organization by default. The same goes for email subscriptions to B2B guests and external users, which are worth a look while you’re at it. Most users want to be able to export data form reports so consider this feature carefully, but form a security point of view, you have better control over what you can keep in your tenant.

Enable granular access control for all data connections
Effort: 10/10
This setting enforces that users need permission on the data connection itself, so shared items get disconnected if someone without access edits them. It also means people need to request every single connector whenever they have anything in Power BI Services. It get’s a high effort, not because it’s hard to implement, but because it’s hard to maintain. If you have Power BI makers in your environment they’ll probably create a couple of new connectors per month, and now they all need to request these from you instead.

Advanced networking
Effort: 10/10
Here you find tenant-level Private Link, Block Public Internet Access, workspace-level inbound and outbound rules and IP firewall rules. These settings can be set either on tenant level or workspace level. it essentially means that you can block access to app.powerbi.com for all your users unless they access it from a network you accept. This way you can, for example, run Windows 365 cloud PC’s and users need to access Power BI from such a device.
This is perhaps something you want, but not for all workspaces. That sensitive HR report should perhaps be treated with great caution and so we can configure that specific workspace to be access only from certain networks, while the rest are OK as long as you’re logged into a browser at any computer.

Sensitivity labels and protection policies
Effort: 8/10
This one has a high effort score, mostly because it involves Microsoft Purview and usually another team but also for another reason; It’s easy to configure the labels and protection policies, it’s hard to get your users to properly set the right labels. Sensitivity labels are created in Purview. For them to work with protection policies, the label must be scoped to Files & other data assets and have the protection setting Control access turned on.

When you apply a label to a lakehouse, it flows downstream to the SQL analytics endpoint, the semantic model and the report. This is technically a setting you can turn off in the tenant settings, but I recommend keeping it on and informing your users about this. You don’t need to label 4 items here, only the Data Lakehouse on the left.

The label also follows the data out of Fabric. If a user exports data from a labeled report to Excel, the file gets the same label and the same protection. However! Do you remember that tenant setting we looked at earlier, were we could disable export to CSV? That might be a good idea, because when exporting to Excel; you keep the label. Export to CSV and it doesn’t support keeping the label on that file.

With protection policies (still in preview) you go one step further. A policy is tied to a label and says which users and groups keep their access to items with that label. Everyone else is blocked, even if they have a workspace role or a sharing link. Combine that with downstream inheritance and you have a very strong safety net.
Azure Key Vault
Effort: 6/10
Last but not least: where do your secrets live? Service principal secrets and passwords pasted into connections are hard to keep track of and even harder to rotate. With Azure Key Vault references, Fabric stores only a pointer to the secret, never the secret itself. Go to Settings > Manage connections and gateways > Azure Key Vault references, create a reference with an alias and the name of your key vault, and authenticate with OAuth 2.0.

When you create a connection, for example a Web API with Service principal authentication, you choose Use Azure Key Vault, pick your reference and enter the secret name. The secret is fetched from the vault when the connection is used, so when you rotate it in Key Vault, Fabric picks up the new value automatically. You can also manage who is allowed to use the reference, just like any other connection. This is particularly interesting because think about what that means (I did run the test to validate this too); User A sets up a Key vault, adds a secret value to a Service Principal Secret then set up an Azure Key Vault reference in Power BI using Oath2 with his/her account. This key vault reference is now shared with User B, who can use it when setting up a connection to a Web API or such. User B can never get the actual secret value from here, and will never be able to use that in clear text somewhere. If User B leaves the company, there’s no way to extract that secret for example.

Putting the pieces together
None of these features solve everything on their own, but together they make a pretty good puzzle. Here is how an environment could look if you put all the pieces in place:
- Workspaces are requested through a process where the need is validated.
- Workspace access follows the principle of least privilege.
- All items are labeled and protected by protection policies.
- Some users can only see certain reports (app audiences).
- Some users can only see certain data (RLS and OneLake security).
- Data can only be ingested into the workspace through a managed private endpoint.
- Users can only reach the workspace from selected networks.
- Data engineers request access to each connection.
- Service principal secrets are stored in Azure Key Vault.
- No one can use Publish to web.
- No one can download unlabeled CSV files.
There are more pieces than I could fit in here, workspace identity for example, but this should give you a solid start.
And now let me take off the security hat for a second. Every lock you add is also something your users have to deal with. If security gets too painful, people will find ways around it, and then we’re back to sensitive data in Excel files on someone’s desktop. So pick the pieces that make sense for your organization and your data.
Hope you’re able to make better sense of the security puzzle in your environment using some of these pieces.
Cheers