Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowTry your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now
Sometimes when using the API to create workspaces I get the error
status code:400, statusMsg:Bad Request -
{"error":
{"code":"DuplicateGroupNameError","pbi.error":
{"code":"DuplicateGroupNameError","parameters":{},"details":[]}
}
} for workspaceName:WORKSPACENAME-123456
Yet on the service website, no workspaces are listed, and querying the API group list also returns an empty list.
Oddly, on the services website I can still create a workspace with the same name and delete it, but the error still persists when using the REST API.
Another note, not sure if related, but I also received this error before I started getting duplicate name errors (same route for creating workspaces):
status code:404, statusMsg:Not Found -
{"error":
{"code":"ADGraphGroupOperationFailedResourceNotFound","pbi.error":
{"code":"ADGraphGroupOperationFailedResourceNotFound","parameters":{},"details":[],"exceptionCulprit":1}
}
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.