Delete Hybrid Connections

Forest Jones 26 Reputation points
2021-03-30T21:13:11.937+00:00

How do you delete old Hybrid Connections from the list of Hybrid Connections in the Portal. We have some old, unused, and incorrectly named Hybrid Connections that we would like to clean up out of that list.

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,964 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Forest Jones 26 Reputation points
    2021-03-31T17:31:41.833+00:00

    One of my coworkers actually found out how to do this via the Portal GUI. You go the "Relay" that the Hybrid Connection is associated with. From there, on the left hand side menu, click "Entities -> Hybrid Connections". You will see your list of Hybrid Connections on the right with the number of places they are being used listed under the "Listeners" column. When you select the one you want to delete, it will take you to a new page with a "Delete" icon (little trash can).

    I expect the CLI script that was provided in this post accomplishes the same thing based on the syntax.

    Hope this helps!

    3 people found this answer helpful.

  2. Grmacjon-MSFT 19,301 Reputation points Moderator
    2021-03-30T22:34:16.37+00:00

    Hi @Forest Jones ,

    • Go to the Azure portal and click on your web app.
    • Under the Settings blade > Networking > Hybrid Connections
    • Click on the small three dots on the left and click Disconnect.

    82984-hybrid-connection.png

    You can also delete it using this API:

     https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/hybridConnectionNamespaces/{namespaceName}/relays/{relayName}?api-version=2019-08-01  
    

    Hope that helps

    -Best,
    Grace


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.