Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago
Solved

Power BI App - something went wrong

Hi there,

I've just published a new version of my report. 

Since I have published this report, certain users (users without access to the workspace) get the following error while trying to open the App: 

 

 

Other reports in the same app don't give this message. 

When I grant this specific colleague access to the workspace, he can see the data, but when he only has access to the app, he gets this error.

 

In our organization, we use apps to share our reports with colleagues. In order to ensure that not everyone can create and publish reports only my fellow analysts have access to workspaces.

 

Does anyone have any idea what went wrong here?

 

 

  • Hi Anonymous ,

     

    The reason for this error is because users with Admin, Member, and Contributor permissions bypass any row-level security policies even if they assigned as role members. However, viewers are refused access unless they are added to a role that grants them the appropriate permissions. So, the likely culprit here is that there are some viewers that are not assigned to a role.

     

     

     

    My advice is: If viewers should have unrestricted access to an RLS-enabled dataset, create an Open Access role and add them to the role. As a best practice, you should create a security group and grant the group membership to the workspace and RLS.


    related document link: Roles in the new workspaces in Power BI - Power BI | Microsoft Docs

    Best Regards,
    Henry

     

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

2 Replies

  • v-henryk-mstf's avatar
    v-henryk-mstf
    Community Support

    Hi Anonymous ,

     

    The reason for this error is because users with Admin, Member, and Contributor permissions bypass any row-level security policies even if they assigned as role members. However, viewers are refused access unless they are added to a role that grants them the appropriate permissions. So, the likely culprit here is that there are some viewers that are not assigned to a role.

     

     

     

    My advice is: If viewers should have unrestricted access to an RLS-enabled dataset, create an Open Access role and add them to the role. As a best practice, you should create a security group and grant the group membership to the workspace and RLS.


    related document link: Roles in the new workspaces in Power BI - Power BI | Microsoft Docs

    Best Regards,
    Henry

     

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

    • Anonymous's avatar
      Anonymous
      Not applicable

      Thank you for your reply. It now works!