Supplies are limited. Contact info@espc.tech right away to save your spot before the conference sells out.
Get your discountScore big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount
We have external users that we are trying to give access to one of our Power BI reports, and the RLS is not working.
Setup is as follows:
RLS controlled via user list that is filtered on the dataset via account number. In the security role we have:
[UserEmail] = USERPRINCIPALNAME()
On the service:
Initially we found that the USERPRINCIPALNAME was in the format of {email}#EXT#@domain.com until the user logged in, then it reverted to their email address. So to allow us to test the role and (in theory) the user log in, we have both variations of the UPN in our RLS user list, but the external users still cannot log in.
They get the error "You can't see the content of this report because you don't have permissions to the underlying dataset. The underlying dataaset uses RLS"
Annoyingly I have my Gmail account set up as per the above and it is working perfectly fine, the only thing that's different about these users where they are using their own PBI Pro licence from their domain, whereas with my Gmail account we added the PBI licence internally.
What am I missing? Any advice greatly appreciated!
Solved! Go to Solution.
I figured the issue out, so thought I would update in the event anyone else has a similar scenario. Whilst I had assigned the users to the RLS role on the data workspace semantic model, I hadn't realised that the same RLS role also applied on the semantic model for the report that only contained the visualisations/app. When I assigned the users to the RLS role in this workspace as well, the issue was resolved. Hope this helps someone else in the future!
I figured the issue out, so thought I would update in the event anyone else has a similar scenario. Whilst I had assigned the users to the RLS role on the data workspace semantic model, I hadn't realised that the same RLS role also applied on the semantic model for the report that only contained the visualisations/app. When I assigned the users to the RLS role in this workspace as well, the issue was resolved. Hope this helps someone else in the future!
User | Count |
---|---|
33 | |
16 | |
13 | |
10 | |
8 |
User | Count |
---|---|
52 | |
31 | |
24 | |
18 | |
15 |