简体   繁体   English

在 Azure 地图中创建事件订阅时创建系统主题失败

[英]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.

相关问题 创建Azure Service Bus主题订阅失败 - Creating a Azure Service Bus Topic Subscription fails 为 session 创建连续接收器,从 Azure 总线主题启用订阅 - Creating continuous receiver for session enabled subscription from Azure Bus Topic 带有服务总线队列处理程序的 Azure 事件网格主题订阅 - Azure Event Grid topic subscription with Service Bus queue handler 通过 ARM 创建对自定义事件网格主题的存储队列订阅 - Creating storage queue subscription to custom Event Grid Topic via ARM 创建 Azure 事件订阅 Blob 存储 - Creating up a Azure Event Subscription to blob storage 使用Azure函数从ServiceBus主题/订阅中读取时出错 - Error while Reading from ServiceBus topic/subscription using Azure funtion 在 Terraform 中为 Azure 存储帐户创建事件订阅 - Creating an event subscription for Azure storage account in Terraform Azure Key Vault 事件 - 是否可以订阅事件网格主题(不是系统事件网格主题)? - Azure Key Vault Event - Is it possible to subscribe to Event Grid Topic (not system event grid topic)? Azure主题订阅筛选器/订阅规则 - Azure topic subscription filter / Subscription Rule 使用二头肌模板创建 Azure 订阅失败,并出现错误“InvalidSubCreationScope - 不是有效的订阅创建范围” - Creating an Azure Subscription with a Bicep template fails with error 'InvalidSubCreationScope - Not a valid subscription creation scope'
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM