[英]Creation of System Topic failed while creating Event Subscription in Azure Maps
I keep getting the following error while creating Event Subscription for my Azure Maps Account .在为我的Azure 地图帐户创建事件订阅时,我不断收到以下错误。
Error: Creation of System Topic has failed with error: System topic's location must match with location of the source resource /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-a229d67dddf5/resourceGroups/rg-ets-new/providers/Microsoft.Maps/accounts/ets-maps-account.错误:创建系统主题失败并出现错误:系统主题的位置必须与源资源/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-a229d67dddf5/resourceGroups/rg-ets-new/providers/Microsoft.Maps/accounts 的位置匹配/ets-maps-帐户。 Event Subscription will not be created.不会创建事件订阅。
I get the same error if I add an Event Grid System Topic of Azure Maps Accounts Type in the same resource group the Maps Account is in. The resource group and the maps account both have the same region (West Centeral US) assigned to them.如果添加Azure 地图帐户的事件网格系统主题,我会收到相同的错误 在地图帐户所在的同一资源组中键入。资源组和地图帐户都分配了相同的区域(美国中西部)。
What do you think is going wrong here?你认为这里出了什么问题? Any clues?有什么线索吗?
PS. PS。 The event subscriptions are working fine for other resources, Queues for example.事件订阅适用于其他资源,例如队列。
There seems to be an bug.似乎有一个错误。 We have reported it to Product teams.我们已将其报告给产品团队。 They are working on the fix.他们正在努力解决这个问题。 Meanwhile, there is an alternative to achieve the same.同时,有一种替代方法可以实现相同的目标。
We can successfully create an event grid topic with source events from an Azure Maps account by using Azure CLI, like in the below command.我们可以使用 Azure CLI 成功地使用来自 Azure 地图帐户的源事件创建事件网格主题,如以下命令所示。 I have replaced any actual subscription details below with placeholders.我已经用占位符替换了下面的任何实际订阅详细信息。
az eventgrid system-topic create --name topicName --location global --topic-type Microsoft.Maps.Accounts --source "/subscriptions/subscriptionName/resourceGroups/resourceGroupName/providers/Microsoft.Maps/accounts/mapAccountName" --resource-group "resourceGroupName"
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.