Hi all
My dataset relates to a project with multiple teams. As users should only view their own team's data, I have set up RLS using USERPRINCIPALNAME. This was working fine until recently.
As some staff members work on more than one team, they were assigned multiple roles. I have a USERS table with the team names and organisational IDs, with a relationship connecting to my TEAMS table.
Users with only 1 team can access the reports fine with no issues. Now I am getting reports of errors but only by users who work on more than 1 team. The error they get is per the screenshot:
Can anyone advise as how to resolve?