Forum Discussion
Cannot delete a workspace. Error: ExistingMangedEndpointsPreventingWorkspaceSoftDeletion
- 1 year ago
Hello timahenning2
Check for Managed Endpoints or Dependencies:
• Even if the workspace seems empty, it might have managed endpoints (e.g., pipelines, linked services, or other configurations) still associated with it. These must be removed before the workspace can be deleted.
• Use the Fabric Admin Portal or Power BI Admin APIs to inspect any remaining resources or dependencies tied to the workspace.Ensure the workspace is not part of any deployment pipelines.
Verify and delete any linked services associated with the workspace.
Hope this is helpful.
I waited a day and then tried to the delete workspace using the Power BI REST APIs. That seemed to work.
Groups - Delete Group - REST API (Power BI Power BI REST APIs) | Microsoft Learn
I tried to use the Fabric REST API, but it gave me a 400 code.