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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
trutz
Advocate III
Advocate III

Row-level-security does not apply to viewer role with dataset build permission in Analyze in Excel

Hi all,

We've build a data model with dynamic row-level security using the UserPrincipalName() function. All works fine in the service when we add users with viewer permission to the app workspace.

In a second step we add the "Build" permission on the underlying dataset for some users with "Viewer" role.

Now the users can create new reports, connecting to the dataset in Power BI Desktop and the RLS permissions still apply.

But when the users use "Analyze in Excel" on the dataset, the RLS no longer works.

Is this a bug or a limitation of the "Build" permission in combination with the viewer role?

Kind regards

Trutz

4 REPLIES 4
v-gizhi-msft
Community Support
Community Support

Hi,

 

See this:

3.PNG

Reference:

https://docs.microsoft.com/en-us/power-bi/service-admin-rls#using-rls-with-workspaces-in-power-bi 

Hope this helps.

 

Best Regards,

Giotto Zhi

Well, the affected user just had the Viewer role, no Member, Contributor nor Admin role.

There seems to be a difference between the "Build" permission and the "App (Build)" permission. I added some feedback to the article you linked to ask for a clarification.

I am having the same problem, but do not see a way to apply 'Build' permission only at the app level.  I remember seeing App(Build) for users on the dataset in the past, but maybe has it changed?

Now, when I change the App to allow build permission for a specific user, it actually adds the Build permission for them to the underlying dataset (thereby disabling RLS)... I can't seem to get it to only apply to the App.   Any help is appreciated!

trutz
Advocate III
Advocate III

Small update: If we publish the app workspace as app and hand users a build permission via the published app, the RLS works fine with Analyze in Excel. But, of course, getting this to work in the app workspace would be better, because I can set a more granular level, who gets a build permission instead of all published app members.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

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