Orphaned serviceAssociationLink prevents subnet deletion.

rhod3rz 0 Reputation points
2026-07-30T20:28:54.5166667+00:00

Orphaned serviceAssociationLink prevents subnet deletion.

Subnet:

snet-uks-agent

VNet:

vnet-dev-uks-01

Resource group:

rg-dev-uks-01

Subscription:

2bc7b65e-18d6-42ae-afb2-e66d50be6b05

Orphaned resource:

/subscriptions/2bc7b65e-18d6-42ae-afb2-e66d50be6b05/resourceGroups/rg-dev-uks-01/providers/Microsoft.Network/virtualNetworks/vnet-dev-uks-01/subnets/snet-uks-agent/serviceAssociationLinks/legionservicelink

The Azure AI Foundry account has been deleted and successfully purged.

No Microsoft.App/managedEnvironments resources remain in the subscription.

The service association link remains with:

  • linkedResourceType: Microsoft.App/environments
  • allowDelete: false
  • provisioningState: Succeeded

Deleting the subnet returns InUseSubnetCannotBeDeleted.

Deleting the SAL directly returns UnauthorizedClientApplication.

Please perform backend removal of the orphaned legionservicelink.

Azure Virtual Network
Azure Virtual Network

An Azure networking service that is used to provision private networks and optionally to connect to on-premises datacenters.


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.