Forum Discussion
Can I add description and logo while creating a powerbi workspace via API
Thanks for the reply from mariussve1 , please allow me to provide another insight:
Hi Anonymous ,
According to the official API documentation, the request body of this API supports only one parameter, which is group name
Groups - Create Group - REST API (Power BI Power BI REST APIs) | Microsoft Learn
In addition, regarding update group, it also only supports two parameters to be placed in the request body of the API, one is group name and the other is defaultDatasetStorageFormat, so please refer to other UI automation ways rather than API ways to realize the automatic filling of descriptions and logos, instead of the not API
Groups - Update Group - REST API (Power BI Power BI REST APIs) | Microsoft Learn
For tools that make it possible to automate the UI, please refer to the PowerAutomate dekstop, which has the ability to click on a web page and extract it automatically.
Send physical clicks on a web element - Power Automate | Microsoft Learn
Introduction to desktop flows - Power Automate | Microsoft Learn
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.
Hi again,
Yes you are right. I just tried to create a workspace with description in body, but that did not work. Sorry for not checking this before posting an answer.
If you are able to use Powershell, there is a cmdlet you can use to add description after the workspace is created:
https://learn.microsoft.com/en-us/powershell/module/microsoftpowerbimgmt.workspaces/set-powerbiworkspace?view=powerbi-ps
Set-PowerBIWorkspace -Id "<workspaceid>" -Description "Test Description"