Forum Discussion

timahenning2's avatar
timahenning2
Helper II
1 year ago
Solved

Cannot delete a workspace. Error: ExistingMangedEndpointsPreventingWorkspaceSoftDeletion

I tried to delete a workspace from the Fabric 'Workspace settings' pane.

 

 

I received this error ExistingMangedEndpointsPreventingWorkspaceSoftDeletion. It is an empty workspace. There are no objects.

 

 

Thanks for the help.

 

Tim

 

  • 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. 

3 Replies

  • v-karpurapud's avatar
    v-karpurapud
    Community Support

    Hello timahenning2 

    Thank you nilendraFabric for your prompt response


    Thank you for reaching out to the Microsoft Fabric Community Forum. We understand you're encountering an issue with workspace deletion.

     

    The error ExistingManagedEndpointsPreventingWorkspaceSoftDeletion occurs when attempting to delete a Fabric workspace that has Managed Endpoints associated with it. Even if the workspace appears empty, Managed Endpoints may still be present, preventing soft deletion.

     

    • If you do not see any managed endpoints but still encounter the error, it might be due to a caching issue. Please wait for some time and try again.
    • If the deletion still fails, consult with a Fabric Admin to ensure they have the necessary Fabric Admin or Capacity Admin permissions to delete managed endpoints.

     

    If you find this post helpful, please mark it as an "Accept as Solution" and give a KUDOS.

     

    Thank you!

  • 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.