我想创建一个服务总线,以便能够调试此链接https://blog.virtosoftware.com/remote-event-receivers-creating-and-debugging-sharepoint-online/中提到的远程事件接收器,因此我尝试运行以下命令:
New-AzureSBNamespace "TestTestingServiceBus" -CreateACSNamespace $true -NamespaceType Messaging
字符串
但是我得到了这个错误:-
New-AzureSBNamespace : <string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">{"Details":"Azure Service
Management APIs have been deprecated for messaging services as of November 1, 2021 and replaced with Azure Resource
Management APIs. For more information, please visit
https://azure.microsoft.com/updates/asm-api-messaging-services-retirement/"}</string>
At line:1 char:1
+ New-AzureSBNamespace "TestTestingServiceBus" -CreateACSNamespace $tru ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : CloseError: (:) [New-AzureSBNamespace], CloudException
+ FullyQualifiedErrorId : Microsoft.WindowsAzure.Commands.ServiceBus.NewAzureSBNamespaceCommand
型
有什么建议吗?谢谢
1条答案
按热度按时间xmd2e60i1#
你引用了一篇很老的博客文章。自从那篇文章写出来后,很多事情都发生了变化,这就是为什么你会得到错误。
如果要创建新的服务总线命名空间,请使用
New-AzServiceBusNamespace
。