Share via

I can't delete resource group because of lingering capability host

Jay Lee 0 Reputation points Microsoft Employee
2026-03-06T19:59:47.4466667+00:00

This is the summary of the issue

  1. A Foundry workspace/project previously existed in rg-foundry-dev-eastus2
  2. That project had a capability host which provisioned a Container Apps Environment in a Microsoft-managed subscription (hobov3_12ba2ebf-... in tenant 33e01921-...)
  3. The Foundry workspace was deleted (the resource group now only has a VNet and NSG), but the managed Container Apps Environment in the Microsoft-managed subscription was not cleaned up
  4. That orphaned managed environment still holds the legionservicelink on your subnet with allowDelete: false
Foundry Tools
Foundry Tools

Formerly known as Azure AI Services or Azure Cognitive Services is a unified collection of prebuilt AI capabilities within the Microsoft Foundry platform

{count} votes

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.