Unable to delete multiple Azure Resource Groups due to orphaned Power Platform Service Association Links

Abby Artagame (admin) 0 Reputation points
2026-12-01T06:18:55.2533333+00:00

Hi Microsoft Support,

We require assistance with two Resource Groups that cannot be deleted due to orphaned Power Platform Service Association Links.

The original Power Platform enterprise policies have already been deleted, but the affected subnets still contain:

Delegation: Microsoft.PowerPlatform/enterprisePolicies Service Association Link: PowerPlatformServiceLink Linked resource type: Microsoft.PowerPlatform/enterprisePolicies allowDelete: false

Azure Resource Graph confirms that there are no remaining Microsoft.PowerPlatform resources in the affected subscription.

Attempting to remove the subnet delegation returns:

SubnetMissingRequiredDelegation

Attempting to delete PowerPlatformServiceLink directly through the ARM API returns:

UnauthorizedClientApplication

Because the Service Association Link has allowDelete=false, we cannot remove it directly, and we also cannot remove the subnet delegation while the Service Association Link remains.

Could you please assist with removing these orphaned PowerPlatformServiceLink dependencies so we can complete deletion of the affected Azure resources?

We can provide the exact subscription, Resource Group, VNet and subnet details securely through the support case if required.

Thanks.

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.

0 comments No comments

2 answers

Sort by: Most helpful
  1. Ali N. Chouman 0 Reputation points
    2026-12-01T06:38:06.43+00:00

    Based on the error messages, this appears to be an orphaned Service Association Link (SAL) associated with the Microsoft.PowerPlatform/enterprisePolicies resource provider.

    Since the original enterprise policies have already been deleted, and the Service Association Link has allowDelete=false, the dependency may need to be cleaned up by Microsoft from the resource provider side.

    I would recommend the following:

    Open an Azure technical support request and explicitly request escalation to the Microsoft.PowerPlatform Resource Provider team.

    Ask Microsoft to investigate and remove the orphaned PowerPlatformServiceLink associations.

    Provide the subscription ID, Resource Group, VNet, subnet name, and affected resource IDs through the private support case.

    Include the exact errors:

    SubnetMissingRequiredDelegation

      `UnauthorizedClientApplication`
      
      Include the Azure Resource Graph results confirming that no remaining enterprise policy resources are present.
      
    

    I would avoid attempting to force-delete the Service Association Link or modifying the subnet through alternative ARM API calls, as this could leave the resource configuration in an inconsistent state.

    The key point: The remaining dependency appears to be managed by the Power Platform resource provider. Microsoft needs to confirm ownership and perform the appropriate backend cleanup.

    Was this answer helpful?

    0 comments No comments

  2. AI answer

    2026-12-01T06:20:26.2+00:00

    A persistent Microsoft.PowerPlatform/enterprisePolicies service association link should be submitted to Azure Support for backend cleanup after allowing the documented cleanup interval and verifying that Microsoft.PowerPlatform remains registered.

    Complete the remaining self-service checks

    You have already confirmed that the enterprise policies are gone and that direct SAL and delegation removal are blocked, so do not repeat those operations until the link is cleared.

    1. If the enterprise policies were deleted recently, wait at least 10–15 minutes from completion of their deletion, then retry deleting the subnet. Azure documents this interval for automatic SAL cleanup after the linked service resources have been removed.^1^
    2. Optionally verify the resource provider registration. Power Platform VNet configuration requires both Microsoft.Network and Microsoft.PowerPlatform to be registered.^2^
         az provider show \
           --namespace Microsoft.PowerPlatform \
           --query registrationState \
           --output tsv
      
         az provider register --namespace Microsoft.PowerPlatform --wait
      
      If registration was required, allow it to propagate and retry deleting the subnet or VNet. Re-registration resolved a similar Microsoft.PowerPlatform/vnetaccesslinks case, but that involved a different Power Platform delegation type; treat this as a final low-risk check, not a confirmed fix for enterprisePolicies.^3^ Provider registration commands and states are documented here.^4^
    3. If an associated Power Platform environment still exists, unlink it before deleting Azure resources:
         Install-Module Microsoft.PowerPlatform.EnterprisePolicies
         Import-Module Microsoft.PowerPlatform.EnterprisePolicies
      
         Disable-SubnetInjection `
           -EnvironmentId "<environment-guid>" `
           -ForceAuth
      
      Disable-SubnetInjection is the supported operation for unlinking an environment from its enterprise policy, and it is asynchronous.^5^ Skip this branch if the environment no longer exists or cannot be addressed by environment ID.

    Escalate the persistent SAL

    If the SAL remains after those applicable checks, open or update the support case and request:

    Backend removal of orphaned PowerPlatformServiceLink service association links whose linkedResourceType is Microsoft.PowerPlatform/enterprisePolicies, followed by synchronization of the subnet delegation state.

    A closely matching Power Platform enterprise-policy case was resolved by removing the stale environment/policy association from the backend.^6^ Azure’s networking guidance likewise directs customers to Support when an SAL persists after the linked resources are removed and cleanup has been allowed to complete.^1^

    From each affected VNet or subnet, select Support + Troubleshooting under Help, run the offered SAL diagnostic, and then select Create a support request if it does not resolve the dependency.^7^ Technical support can require an Azure support plan.

    Provide securely in the case:

    • Subscription, resource-group, VNet, and subnet resource IDs.
    • Full PowerPlatformServiceLink resource IDs.
    • linkedResourceType, allowDelete, delegation, and current provisioning state.
    • The SubnetMissingRequiredDelegation and UnauthorizedClientApplication responses, including timestamps and correlation/request IDs.
    • Confirmation that the enterprise policies are deleted and Azure Resource Graph finds no remaining Microsoft.PowerPlatform Azure resources.
    • Provider registration state and the time deletion was completed.
    • Approval for the Networking and Power Platform backend teams to remove the stale associations.

    Do not post those identifiers publicly.

    After Support confirms cleanup

    First verify that serviceAssociationLinks is empty and that the delegation can be removed. Before deleting the subnets, VNets, or resource groups, review the resource inventory, Activity Log, resource locks, NICs, private endpoints, and other dependencies, and back up any required configuration or data. These deletions can permanently remove resources and disrupt workloads.

    Then remove the delegation, delete the subnet/VNet, and finally delete the resource groups.


    References

    1. Troubleshoot subnet deletion and modification failures in Azure Virtual Network
    2. Set up virtual network support for Power Platform (manual)
    3. Cannot delete subnet delegated to Microsoft.PowerPlatform/vnetaccesslinks - Microsoft Q&A
    4. Resolve errors for resource provider registration
    5. Disable-SubnetInjection-Syntax
    6. Cannot delete Enterprise Policy. Error says it is associated with an Power Platform env that has been deleted after geo-to-geo migration has been performed - Microsoft Q&A
    7. Create an Azure support request
    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

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.