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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It 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
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors