流量管理器配置无效,因为订阅 <XXX> 上的一个或多个域没有为流量管理器启用

Traffic manager configuration is not valid because one or more domains on subscription <XXX> are not enabled for Traffic Manager

我在美国东部和美国东部 2 两个区域的 Azure 中部署了两个 Web 应用程序。

这两个应用程序都在 F1 免费服务计划中,并且每个都有自己的服务计划。我的 Azure 流量管理器配置文件是使用加权路由方法设置的。

当我尝试将任一 Web 应用添加为 Azure 应用服务端点时,我能够从列表中 select 我的应用并保存表单。

我在保存终结点时收到以下错误消息:

Error: Some of the provided Azure Website endpoints are not valid: Traffic manager configuration is not valid because one or more domains on subscription "XXX" are not enabled for Traffic Manager

我创建并配置了一些其他加权配置文件以指向按预期工作的 Azure Function Apps。只是不确定为什么我会收到此错误,因为我不熟悉 Web 应用程序上的设置以使其能够使用流量管理器配置文件。

问题可能是 F1 免费服务计划中的应用服务不支持流量管理器,您的应用服务计划至少需要 标准 价格等级。阅读详情 here.

我有同样的问题,其中我的两个应用程序都有标准的应用程序服务计划。

错误:

Failed to save configuration changes to Traffic Manager profile 'TrafficManagerName'. Error: Some of the provided Azure Website endpoints are not valid: Traffic manager configuration is not valid because one or more domains do not belong to subscription "xxxxxx"

解决方案:您可能在同一地区创建了两个应用程序。为了将其添加为端点,它应该位于不同的区域。