Forum Discussion
Assign Description to Workspace
Certainly! Here’s a revised version of your message:
Hello everyone!
I am working on a script to create Power BI workspaces using PowerShell commands. I also want to update these workspaces to assign a Capacity ID and a description.
Currently, I’m using the Set-PowerBIWorkspace command, but I'm encountering the following error:
Is there a way to assign a description to workspaces programatically?
Thank you in advance for your help!
- Anonymous1 year ago
Hi Anonymous ,
Don't worry, "Only preview workspaces are supported when -Scope Organization is specified" just a warning. In my test the following PowerShell successfully changed the workspace. You'll need to refresh your workspace to see the changes.
Set-PowerBIWorkspace -Scope Organization -Id "3244f1c1-01cf-457f-9383-6035e4950fdc" -Name "Test Name" -Description "Test Description"Best regards,
Mengmeng Li
1 Reply
- AnonymousNot applicable
Hi Anonymous ,
Don't worry, "Only preview workspaces are supported when -Scope Organization is specified" just a warning. In my test the following PowerShell successfully changed the workspace. You'll need to refresh your workspace to see the changes.
Set-PowerBIWorkspace -Scope Organization -Id "3244f1c1-01cf-457f-9383-6035e4950fdc" -Name "Test Name" -Description "Test Description"Best regards,
Mengmeng Li