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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
mz_1122
Frequent Visitor

Assigned Roles missing from datamart after scheduled refresh

Did anyone experience missing assgined roles from datamart after refresh? This happened to me 3 days in a row. On day 1 post refresh i thought i missed out the assign step and turned out to seems to be a bug.

 

I have 4 datamart, this happen to 2 of my datamarts, every morning after the refresh, end user will come looking for me asking why they are not able to access the report, turn out their email are no longer in their assigned roles under the  'Manage security roles' -->'Assign'  in datamart.

 

I even make sure the succesfully assigned message is out til i assign the next role. But yet still missing the following day after scheduled 

mz_1122_0-1677721554524.png

 

1 REPLY 1
v-yangliu-msft
Community Support
Community Support

Hi  @mz_1122 ,

 

In general, if your RLS is set up using Username(), then this should not happen, and you can check the following questions.

Have you added any other sources in your model?

The affected user's Active Directory account appears to have changed; you can have your administrator write a Power Shell script to view the AD properties of that user.

Get-ADUser (ActiveDirectory) | Microsoft Learn

 

You can also check for restrictions:

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

 

Best Regards,

Liu Yang

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

Helpful resources

Announcements
PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

Top Solution Authors
Top Kudoed Authors