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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
BILearner11
Regular Visitor

Report Viewer Error - "Something Went Wrong"

A report with role level security role setting is published to Power BI Service. There is a column "email address" in the dataset. The RLS setting is as below. Supposedly report user can view the corresponding data/figrues based on their login email address.

 

RLS setting

BILearner11_0-1637915900526.png

 

Permission "Read" (report level) is granted to the report user

BILearner11_1-1637916212693.png

 

When report user open the report, he/she gets below error

BILearner11_2-1637916314181.png

 

Is there any clear solution we can exactly solve this problem? Our purpose is to let users view our report content based on their login email address.

 

I know other users posted similar issues before, but it seems there are not clear solution for problem like this.

 

Thank you

 

 

1 ACCEPTED SOLUTION
v-henryk-mstf
Community Support
Community Support

Hi @BILearner11 ,

 

Based on the information you provided, it seems that you have not configured the full dynamically RLS, in Desktop you have used USERPRINCIPALNAME() in the filter condition. This function returns the name of the user as their email address.
But after publishing the report to the service, you need to continue the configuration and add the email address of the user who will implement rls to the members.

vhenrykmstf_1-1638160025714.png

After completing the above steps, try again to see if it works. In addition, make sure your user does not have edit permission to this report. Otherwise, RLS will not work.

 

For more details, you can read related doucment.

Row-level security (RLS) with Power BI - Power BI | Microsoft Docs


If the problem is still not resolved, please provide detailed error information and let me know immediately. 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.

View solution in original post

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

Hi @BILearner11 ,

 

Based on the information you provided, it seems that you have not configured the full dynamically RLS, in Desktop you have used USERPRINCIPALNAME() in the filter condition. This function returns the name of the user as their email address.
But after publishing the report to the service, you need to continue the configuration and add the email address of the user who will implement rls to the members.

vhenrykmstf_1-1638160025714.png

After completing the above steps, try again to see if it works. In addition, make sure your user does not have edit permission to this report. Otherwise, RLS will not work.

 

For more details, you can read related doucment.

Row-level security (RLS) with Power BI - Power BI | Microsoft Docs


If the problem is still not resolved, please provide detailed error information and let me know immediately. 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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors