The traffic manager domain can be removed only through the Traffic Manager.

Osena, Darren 0 Reputation points
2024-02-12T09:17:49.7233333+00:00

Im using Ansible (ARM template) to provision resources need for my app function.

The flow of provisioning:

  1. Traffic manager no endpoints
  2. ASP, Function
  3. Bind cert
  4. Traffic Manager with endpoints

This work, but for some other functions (we have 10 to provision), it fails. The error is:

The traffic manager domain (*.trafficmanager.net) can be removed only through the Traffic Manager (happens on step 3)**. I noticed that, supposedly step 1 should have removed the binding but it doesn't. Now when checking the resources in the portal, there's a TM without endpoints but the app function still has the traffic manager in the custom domain. Deleting the TM custom domain in the app function manually would also result to the same error, but when I try to delete the endpoint in the TM I'm unable to do so since it's provisioned without endpoints.

** What I'm doing is I have to add the endpoint manually then right after I will have to delete.

Azure Traffic Manager
Azure Traffic Manager
An Azure service that is used to route incoming network traffic for high performance and availability.
111 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,258 questions
{count} votes