Skip to main content
Microsoft Idea

Power BI

Under Review

Security - Ability to maintain source security for reports published on BI Sites

Vote (1829) Share
Ramu Kodemala's profile image

Ramu Kodemala on 03 Mar 2015 07:53:46

The general requirement is that visualizations (Power View, SSRS etc...) must not circumvent existing policies, or introduce yet another set of security policies on top of those already implemented at the source.

* For example, a visualization of sales data needs to reflect the policy that account managers can only read sales data for their region.
* For performance reasons, this is enforced at the source by injecting predicates into the query based on the end users identity. If identities for end users are not passed down the process chain into the data layer, it leaves us little option but to publish individual reports for every region, which results in an explosion of complexity and numbers of reports, or move the whole model to BISM and manage the policy in yet another place (namely the BISM model).

Impact
blocking migration to SPO/BI Sites. At least 412 Site Collections with more than 600 Power Views. Impacting Adoption or migration for majority of BPUs - e.g. Finance, LCA, HR, etc

Administrator on 16 Aug 2020 02:15:30

Hey all! We've continued to make progress here, so I wanted to update this thread with our current capabilities for maintaining security on dashboards/reports. As always, all of this information can be found in our Row-Level Security (RLS)documentation: https://powerbi.microsoft.com/en-us/documentation/powerbi-admin-rls/ > If you have set up RLS in Analysis Services, Power BI will send the signed-in user's credentials to Analysis Services, and respect the RLS rules set up on the on-premises model. > Separately, you can set up RLS in Power BI for data sources that you import or connect to via DirectQuery. This process starts in PBI Desktop, where you define roles, and write DAX to constrain what data these roles can see. As part of this process, can you use the UserPrincipalName () DAX function to get the current signed in user's UPN (e.g. joe@contoso.com). Then, once you publish to service, you can assign users to these roles. Does the above meet your requirements? Please let us know via comments or e-mail. Those of you who requested that the identity of the signed in Power BI user be pass through to Azure SQL, SQL DB, DWH, etc.: we hear you - that is under consideration. Thanks, -Sirui

Comments (146)
Ramu Kodemala's profile image Profile Picture

marian on 16 Aug 2020 03:52:03

RE: Security - Ability to maintain source security for reports published on BI Sites

we are now facing this problem, how to provide customer personalized views of reports. no workaround found. Any guess of compleiting this features?

Ramu Kodemala's profile image Profile Picture

Adam Kruzel on 16 Aug 2020 03:52:02

RE: Security - Ability to maintain source security for reports published on BI Sites

Definitely needed. Users want to log in and see only what pertains to them.

Ramu Kodemala's profile image Profile Picture

Aaron Shumaker on 16 Aug 2020 03:52:01

RE: Security - Ability to maintain source security for reports published on BI Sites

Reoccurring problem every time I look at any of the prebuilt PowerView, PowerBI, etc. frontends for SSAS. If you were doing front end application development yourself, then you can weave the user context into the query.

Ramu Kodemala's profile image Profile Picture

Amien on 16 Aug 2020 03:52:00

RE: Security - Ability to maintain source security for reports published on BI Sites

Thanks for setting this to "Started"

Ramu Kodemala's profile image Profile Picture

Eric JENOUVRIER on 16 Aug 2020 03:52:00

RE: Security - Ability to maintain source security for reports published on BI Sites

Thank you !!!

Ramu Kodemala's profile image Profile Picture

Václav Němec on 16 Aug 2020 03:52:00

RE: Security - Ability to maintain source security for reports published on BI Sites

Can anybody advise me how control the default filter according to the logged-in user

Ramu Kodemala's profile image Profile Picture

Power BI User on 16 Aug 2020 03:51:59

RE: Security - Ability to maintain source security for reports published on BI Sites

100 votes if it was possible..really really need an option to pass the current user as a parameter to the query or a hidden filter to the reports.

Ramu Kodemala's profile image Profile Picture

Weslley Moura on 16 Aug 2020 03:51:59

RE: Security - Ability to maintain source security for reports published on BI Sites

I have the same problem...how to filter data according to the logged-in user

Ramu Kodemala's profile image Profile Picture

Václav Němec on 16 Aug 2020 03:51:59

RE: Security - Ability to maintain source security for reports published on BI Sites

I tried DAX USERNAME () now, but in Power BI Service it returns "guid" which is the same for all users i our tenant. So this does not work !!!

Ramu Kodemala's profile image Profile Picture

Power BI User on 16 Aug 2020 03:51:58

RE: Security - Ability to maintain source security for reports published on BI Sites

This is a NEED.

For us that works with all the company data at the BI. We need to do a big work around Data and Power BI to create a specific dashboard for each login. While we could only limit acess to one Big Data BI...