Forum Discussion
Unable to patch reportgroup name with a service principal account
Hi,
I'm not able to patch the name of a report group using:
Admin - Groups UpdateGroupAsAdmin - REST API (Power BI Power BI REST APIs) | Microsoft Learn
I'm using a service principal. With this service principal I can create a report group but I'm not able to update id.
I get a 401.
Any help would be appreciated.
Thanks,
René
- Anonymous3 years ago
Hi rene_titulaer ,
It seems that the problem is caused by the insufficient permission. Since you are using service principal, please check if it has been granted the proper permission.
Enable the Power BI service admin settings
Allow service principals to use Power BI APIs
Add the service principal to the workspace
Best Regards
2 Replies
- AnonymousNot applicable
Hi rene_titulaer ,
It seems that the problem is caused by the insufficient permission. Since you are using service principal, please check if it has been granted the proper permission.
Enable the Power BI service admin settings
Allow service principals to use Power BI APIs
Add the service principal to the workspace
Best Regards
- rene_titulaerNew Member
Thanks a lot, I didn't know this.