Forum Discussion
kimlaurits
4 years agoFrequent Visitor
Invoke-PowerBIRestMethod - description of Workspace
Hi, I am trying to automate the creation of PowerBI Workspaces. I am able to create a new workspace: $body = '{"name": "' + $PowerBIWorkspaceName + '"}' $PowerBIWorkspace = Invoke-PowerBIRestMeth...
- 4 years ago
Unfortunately it doesn't seem to be possible to achieve with a service principal.
When changing description this API is used:
Admin - Groups UpdateGroupAsAdmin - REST API (Power BI Power BI REST APIs) | Microsoft Docs
And that API is not supported when using a service principal:
Hariharan_R
4 years agoSolution Sage
Hi
I hope this REST API supports only Name as a body parameter for workspace and no placeholder for description. We need to add them manually.
Thanks
Hari
kimlaurits
4 years agoFrequent Visitor
Hi Hari,
Okay, so it's not possible to for example set the description after the Workspace has been created?
/Kim
- Hariharan_R4 years agoSolution Sage
You can add the description manually by going to Power BI service workspace.
Thanks
Hari
- kimlaurits4 years agoFrequent Visitor
Yes I know, but I am trying to automate PowerBI workspaces 🙂