Quantcast
Viewing all articles
Browse latest Browse all 6513

TrafficManager with API Management not working

I am having an issue where the TrafficManager isn’’t working, even though both endpoints are showing green:

targetbaseapi-dev.trafficmanager.net

It should redirect to these two endpoints:

targetbaseapidevwest.portal.azure-api.net

targetbaseapideveast.portal.azure-api.net

When trying to go to http(s)://targetbaseapi-dev.trafficmanager.net it gives a 503 error saying “Service Unavailable”, but if you go to the endpoint links individually they work.

Here are the Powershell commands used to manually add the API Management resources to the TrafficManager (since only web and cloud apps are supported in the UI portal):

Add-AzureTrafficManagerEndpoint -TrafficManagerProfile $TrafficManagerProfile -DomainName "targetbaseapideveast.portal.azure-api.net" -Type "Any" -Status "Enabled" -Location "East US" | Set-AzureTrafficManagerProfile

Add-AzureTrafficManagerEndpoint -TrafficManagerProfile $TrafficManagerProfile -DomainName targetbaseapidevwest.portal.azure-api.net -Type "Any" -Status "Enabled" -Location "West US" | Set-AzureTrafficManagerProfile

Thank you!

Viewing all articles
Browse latest Browse all 6513

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>