Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

Create security role automatically

Hi, I have to create about 500 different security role, there's a way to create them automatically in one or few operations, avoiding to create them one by one manually? Not sure if this is even po...
  • V-lianl-msft's avatar
    V-lianl-msft
    6 years ago

    Hi Anonymous ,

     

    Add another email address column for the office owner in the table, and then use the username() function for dynamic row level security, as described in a similar blog below.https://radacad.com/dynamic-row-level-security-with-power-bi-made-simple 

     

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