Reputation: 133
I am doing a POC on RLS (Row Level Security).
[internalemailaddress] = USERPRINCIPALNAME()
on SystemUsers Table.Please suggest If I am doing something wrong.
Also please suggest if there is a way via which System Roles/Groups define in CRM/O365 can be reused in PowerBI (e.g. SalesPerson should be able to view only his data, Sales-Manager should be able to get data of all sales person under his territory etc.)
Upvotes: 1
Views: 886
Reputation: 22836
Either you have to change the owner of the dataset to someone else or login/test with a different CRM user to see RLS in action.
Referring this thread in Power BI community:
RLS wouldn't work on the owner of the dataset. Because the owner can edit both the dataset and reports. RLS aims at controlling the data access rather than something like filtering. You can run "Test as role" to see the effect.
Upvotes: 1