Forum Discussion
How to automatically add service principal to workspaces
Hi cmjcf ,
If you can't find the corresponding application permission, you can try not to grant any permission to this application, and directly enable the “Allow service principals in your organization to create and use profiles.” option for the security group in which the service principal is included in the Power BI admin portal, or for the entire organization to enable the “Allow service principals in your organization to create and use profiles.” option, wait for some time and test whether the API can be tested successfully.
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.
Unfortunately, this does not solve my problem. The API still returns unauthorised for the "supervisor" SP, Please unmark as solution.