Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago
Solved

Automate Permission Management in Power BI Report Server (May 2020)

Hi Team,   I am new to powerbi as well as to their API's and looking for help/guidance to automate the permission management. My requirement is to provide the access to the Windows user comming fro...
  • d_gosbell's avatar
    5 years ago

    I think you'd probably use https://app.swaggerhub.com/apis/microsoft-rs/PBIRS/2.0#/Folders/SetFolderPolicies but it's probably also easier to use the Powershell tools than to call the REST endpoint directly.

     

    However it depends what the logic is to map the user to a folder. I tend to avoid adding individual users to folder permissions if at all possible and instead we get AD groups created and add the group to the folder permissions. Then everyone in a given department or team just needs to be added to that AD group and they get access to all the reports they need. It's usually much easier than assigning permissions to individual users and if someone moves teams/departments it's just a matter of removing them from one group and adding them to another in AD.