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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
richardbadge
Helper I
Helper I

Dynamic Row-Level Security ( Setup for PowerBI.com )

Hi,

 

I have followed various blogs and advice on here to setup dynamic Row-Level security and on the whole have got it working as required.  I can then test this using the "View As Roles" option which then gets logged in user from the userprincipalname() function and filters the data accordingly.

 

My main question is what I need to setup in PowerBI.com to get it working properly. The report is published to an App workspace and I am using the published apps to distribute the report, as have been told that is the best way to distribute to lots of people as I can just add an AD group to the app list of people who need access. Due to this I was hoping that I did not have to add the users as a memeber to the main workspace.

 

But on final testing the app just returns the crosses with no data and the only way I seem to be able to get it working as required is if I add the users into the dataset security tab in the members list for the dynamic role I created.

 

This seems to add an additional administrative task in that I was hoping would not be required when setting up the dynamic security. Is this really required or am I missing something?

 

Thanks in advance.

1 ACCEPTED SOLUTION
v-chuncz-msft
Community Support
Community Support

@richardbadge,

 

There is already an idea, you may leave a comment and vote it up.

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-chuncz-msft
Community Support
Community Support

@richardbadge,

 

There is already an idea, you may leave a comment and vote it up.

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.