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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

Row level security not working in some workspaces

Dear Team, I have implemented Power BI row level security, it's working fine in one workspace but when I publish it to other workspace it fails to work. To test, I created tow measures one for USERPRINCIPALNAME() and other USERNAME(). In one workspace I can see correct user for "Now viewing as:" but other workspace shows my id and my applied rule not working. Can you please help?

Thanks,

Milind

Status: Needs Info
Comments
v-qiuyu-msft
Community Support

Hi @v-mizade,

 

As you mentioned "it's working fine in one workspace but when I publish it to other workspace it fails to work", are they they two app workspaces? 

 

/Would you please share some screenshots to clarify " In one workspace I can see correct user for "Now viewing as:" but other workspace shows my id and my applied rule not working"? 

 

Best Regards,

Qiuyun Yu 

Vicky_Song
Impactful Individual
Status changed to: Needs Info
 
v-mizade
Microsoft Employee

Hi Thanks for your response, see below screenshots for the same PBIX in different workspaces, by the way I figured out the issue, if user is already a member in workspace, this was not working as expected, i just had to remove and add user back to the workspace and it's started working. 

PBI_Working_PPE.PNGPBI_Working.PNGPBI_NotWorking.PNG

v-qiuyu-msft
Community Support

Hi @v-mizade,

 

Thanks for sharing the solution. As the issue is solved now, may I close this thread? Smiley Happy

 

By the way, please mask sensitive information in your screenshots. 

 

Best Regards,
Qiuyun Yu