Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

New Power Bi API Endpoints for Managing Dataset Users

Hello,   I have a working application where I am able to create a workspace, add user/group to workspace, upload a pbix file to workspace etc. But for adding/giving user permission specific to a wo...
  • Anonymous's avatar
    Anonymous
    4 years ago

    Hi Anonymous ,

     

    According to your second screenshot, I think your application should be a Service Principal. As  far as I know, we don't need to granrt API Permissions in Azure portal like normal applications. I think we need to create a security group and add Service Principal as a member in group.

    Then trun on both permissions in Power BI Tenant Setting.

    • Embed content in apps
    • Allow service principals to use Power BI APIs. (We need to add security group into this permission.)

    And we need to add Service Principal as a member/admin in that workspace.

    For reference:

    Embed Power BI content with service principal and an application secret

     

    Best Regards,
    Rico Zhou

     

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