Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
I have to use this API (https://learn.microsoft.com/en-us/rest/api/power-bi/admin/groups-update-group-as-admin) but I have an error.
Here is my script:
Connect-PowerBIServiceAccount
$body = @{
updateDetails = @(
@{
name = "WKS - [DEV] Delivery"
description = "Test"
}
)
}
Invoke-PowerBIRestMethod -Url "https://api.powerbi.com/v1.0/myorg/admin/groups/f8cdcb07-13bd-4955-b15f-fc3bc5532211" -Method Patch -Body $body
Can someone help me ?
Thanks In Advance,
Charline
DANGER DANGER DANGER. Changing the name of a workspace is a Very Bad Idea for multiple reasons.
Anyway - the error may be caused by the fact that another workspace with the same name already exists.
What's the error message?
Here is the error message :
Invoke-PowerBIRestMethod : Une ou plusieurs erreurs se sont produites.
Au caractère Ligne:12 : 1
+ Invoke-PowerBIRestMethod -Url "https://api.powerbi.com/v1.0/myorg/adm ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : WriteError: (Microsoft.Power...werBIRestMethod:InvokePowerBIRestMethod) [Invoke-PowerBIRestMethod], AggregateException
+ FullyQualifiedErrorId : Une ou plusieurs erreurs se sont produites.,Microsoft.PowerBI.Commands.Profile.InvokePowerBIRestMethod
Yeah, that is not very helpful. I assume you have a Pro license - you can consider raising a Pro ticket at https://powerbi.microsoft.com/en-us/support/pro/
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
8 | |
7 | |
2 | |
2 | |
2 |
User | Count |
---|---|
6 | |
5 | |
4 | |
4 | |
4 |