Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
pej
Regular Visitor

How to manage multi-tenant data source in Power BI?

Hello,

I have such scenario:

- I have a multi-tenant SQL database deployed in Azure (Azure SQL Database)

- Each table in the DB has a column "TenantId", meaning to which tenant does the data in that row belongs to

- I want the tenants to have an abillity to create their own Power BI reports, however, they should only have access to their specific data (based on TenantId column)

 

I want to achieve something like this:

set-up-powerbi-multitenancy-environment-resuse-data-source-credentials

So, I've been reading about Multitenant applications, but I don't really need the embedding. To further elaborate, what I need is probably just a separate workspaces for different tenants, with datasets filtered to only their data. I've thought of 2 potential ideas:

  1. For each tenant, create a dataset with filtered tables (by TenantId column)
  2. Create some "master" dataset, create roles for each tenant, where each role would have access only to data it got assigned 

The first approach was fairly simple, but let's say I will have to manage 100 tenants, that would mean I need to update 100 files manually if there's some changes? The second approach I was not able to correctly set permissions in Power BI Service. The user I invited into the workspace was able to view data for every role.

I will appreciate any feedback on this matter.

Thanks

1 REPLY 1
lbendlin
Super User
Super User

The user I invited into the workspace was able to view data for every role.

RLS is ignored for any workspace users above "Reader"  level.

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.

Top Solution Authors