Forum Discussion

rene_titulaer's avatar
rene_titulaer
New Member
3 years ago
Solved

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é

  • Anonymous's avatar
    Anonymous
    3 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

  • Anonymous's avatar
    Anonymous
    Not 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