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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
rmalhan12
Frequent Visitor

Report not working once published (using managed roles to limit access)

I have a report which I have built with many sales managers within the dataset. A sales manager file has been uploaded to the dashboard along with email addresses to limit access based on the advisers that sit within each sales manager. When I test this within the desktop as per below it all works fine and filters the relevant advisers per sales manager. 

 

rmalhan12_0-1666883775067.png 

 

Dax Query to filter correctly

 

rmalhan12_1-1666883789543.png

Selections made and email address enterted of each sales manager to TEST

 

I have then gone onto publishing the report and it all works fine. However when I try using the filters based on roles it breaks - 

 

rmalhan12_2-1666883904518.png

 

Name of sales manager entered and added to "AA" which is role created in desktop

 

rmalhan12_3-1666883939486.png

 

End result after filters, if I am to enter the name again at the top the file has X on every visual with an error code of 401.

 

Any help would be much appreciated. This reports does use a directquery to another dataset. 

 

 

 

 

1 REPLY 1
v-henryk-mstf
Community Support
Community Support

Hi @rmalhan12 ,

 

What is your data source, and the corresponding connection mode. Generally for a 401 error message, the table schema is unable to access the associated data source. It is not the rls created that causes the cause.


Looking forward to your reply.


Best Regards,
Henry


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.