Delete the service association links associated with Flex Consumption Function Apps' Virtual Network Integration subnets

John Romberger 0 Reputation points
2024-12-13T22:31:27.9933333+00:00

I created some resource groups for the purpose of testing Virtual Network integrations with Flex Consumption function apps, then I deleted those function apps. Unfortunately, I can no longer delete the virtual network subnets that the function apps integrated with.

  • I cannot unassign the delegation for the subnet either, due to the service association link still being connected.
  • I tried to recreate the function app with the same name, add the integration again, and remove the integration -- unfortunately, it fails to add the integration.
  • I tried to manually delete the Service Association Link resources via the following CLI command, but that didn't work either.
      az resource delete --ids /subscriptions/<subscription-id>/resourceGroups/<resourcegroup-name>/providers/Microsoft.Network/virtualNetworks/<vnet-name>/subnets/<subnet-name>/serviceAssociationLinks/legionservicelink --api-version 2024-03-01
    

Other Q&A answers seem to indicate a one-time support ticket is required to remove the backend association link.

Thanks!

John

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.
2,572 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Sai Prasanna Sinde 2,515 Reputation points Microsoft Vendor
    2024-12-16T02:42:41.1766667+00:00

    Hi @John Romberger

    Welcome to Microsoft Q&A Platform. Thank you for reaching out & hope you are doing well.

    We understand that you are unable to delete the delete the virtual network subnets that the function apps integrated with due to SAL in the backend.

    As you have reviewed the threads mentioned above, I assume you have also attempted the suggested workaround, which did not resolve the issue for you.

    Please refer to this document and see if this works for you.

    If not, to troubleshoot further, we will need a specialized 1:1 session, where a support engineer can have a screen share session and help you delete the SAL. If you have a support plan you may file a support ticket, else please do let us know, we will try and help you get a one-time free technical support.

    P.S:  We will be able to provide you one-time support if and only if your subscription is not managed by a CSP.

    Refer to how create support ticket: How to create an Azure support request - Azure supportability | Microsoft Learn

    If above is unclear and/or you are unsure about something add a comment below.

    Please don’t forget to close the thread by clicking "Accept the answer" if the information provided helps you, as this can be beneficial to other community members.

    Thanks,

    Sai Prasanna.


Your answer

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