Forum Discussion

Cwboymn1's avatar
Cwboymn1
New Member
7 years ago

Dynamics 365 Dashboard with row level security

I am trying to use a report that I created Power BI that uses row level security and it works perfectly in Power BI as it should but when I bring that report into Microsoft Dynamics on a dashbord it loses the windows live id and shows all the data for all the users. has anyone figured a way to make it work or can offer some alteritive way to make it work?  

3 Replies

  • v-xicai's avatar
    v-xicai
    Icon for Community Support rankCommunity Support

    Hi Cwboymn1  ,

     

    Did you add members to the RLS? See more: https://docs.microsoft.com/en-us/power-bi/service-admin-rls#manage-security-on-your-model.

     

     

     

     

     

     

     

     

     

     

    Did you run "Test as role" to see the RLS effect? RLS wouldn't work on the owner of the dataset. Because the owner can edit both the dataset and reports. RLS aims at controlling the data access rather than something like filtering. .

     

     

     

     

     

     

     

     

     

     

     

     

     

    In addition, if you publish your Power BI Desktop report to an app workspace within the Power BI service, the roles will be applied to read-only members.

     

    If you have configured the app workspace so that members have edit permissions, the RLS roles will not be applied to them. Users will be able to see all of the data. See:https://docs.microsoft.com/en-us/power-bi/service-admin-rls#using-rls-with-app-workspaces-in-power-bi.

     

    Best Regards,

    Amy

     

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

    • Cwboymn1's avatar
      Cwboymn1
      New Member

      Yes, like i said everything works in Power Bi but once I atache the report to Dynamics it quites working 

      • Cwboymn1's avatar
        Cwboymn1
        New Member

        here you can see in power bi the correct user 

         

        and once added to dynamics