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
StuartPQY
Frequent Visitor

AD Groups and Power BI

Hello

 

I am hoping someone can help.  I have searched for an answer and indications are my situation should work.

 

I have a Power BI dashboard that is published to a workspace.  It has RLS enabled.  All works OK if I use apply individual users.  BUT trying to use a group fails.  The groups I have;

StuartPQY_0-1701430585328.png

 

I have added users to the groups.  I then add then to the RLS screen and share the app.

StuartPQY_1-1701430665923.png

 

StuartPQY_2-1701430743952.png

 

But they dont work, or at least the users dont get access.

 

Can any one provide any advice?

 

Thank you

 

Stuart

1 ACCEPTED SOLUTION
aj1973
Community Champion
Community Champion

Hi Stuart,

My guessing is that you are not doing it the right way. Remember the RLS is applied on the dataset level and it is not recommended to share reports via Worksapces. What you can do and I recommend :

  • Remove groups from the Workspace
  • Separate Dataset from Report https://learn.microsoft.com/en-us/power-bi/guidance/report-separate-from-model
  • Create an App and Publish the report from the Workspace where it is located
  • In the App add Adiences for each AD Group
  • Go back to the workspace (Do not add groups to it)where the dataset is located aj1973_0-1701535649286.png

    and add the groups as viewers.

  •  

    Don't forget to set up the security to the dataset as well.

This also is good to know

aj1973_1-1701535780384.png

 

 

 

 

Regards
Amine Jerbi

If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook

View solution in original post

3 REPLIES 3
StuartPQY
Frequent Visitor

 Thank you for your reply.  Certainly gets me to thinking what to do.  I will follow your advice re splitting.

 

On this particular item Ive managed to prove that something is wrong in Azure with the AD groups.  What, I am not sure as I dont have admin access, so its with my IT department.

 

 

aj1973
Community Champion
Community Champion

What I would recommend as well, is that you create a Power BI report for Audit logs and AD groups. That way you won't need IT department to identify anomalies.

Good luck.

Regards
Amine Jerbi

If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook

aj1973
Community Champion
Community Champion

Hi Stuart,

My guessing is that you are not doing it the right way. Remember the RLS is applied on the dataset level and it is not recommended to share reports via Worksapces. What you can do and I recommend :

  • Remove groups from the Workspace
  • Separate Dataset from Report https://learn.microsoft.com/en-us/power-bi/guidance/report-separate-from-model
  • Create an App and Publish the report from the Workspace where it is located
  • In the App add Adiences for each AD Group
  • Go back to the workspace (Do not add groups to it)where the dataset is located aj1973_0-1701535649286.png

    and add the groups as viewers.

  •  

    Don't forget to set up the security to the dataset as well.

This also is good to know

aj1973_1-1701535780384.png

 

 

 

 

Regards
Amine Jerbi

If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook

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