【发布时间】:2019-11-21 02:47:07
【问题描述】:
我已经从 GIT 下载了 Service Bus Explorer。我能够连接到服务总线队列和主题。但是当我尝试连接到事件中心时,我遇到了一些问题。错误--> 异常:System.UnauthorizedAccessException:远程服务器返回错误:(401)未授权。索赔为空。没有选择通过任何索赔。 IN连接字符串也没有这个参数。
最初它可以工作,但在我创建新的事件中心工具后停止工作
Failed to retrieve EventHub entities. Exception: System.UnauthorizedAccessException: The remote server returned an error:
(401) Unauthorized. claim is empty. TrackingId:92ab37f6-452a-48c4-ae20-af7f0e64915b_G25, SystemTracker:ehn-g3ms-tutor.servicebus.windows.net:$Resources/EventHubs, Timestamp:2019-07-11T11:08:52 ---> System.Net.WebException: The remote server returned an error: (401) Unauthorized
【问题讨论】:
-
你使用的是哪个连接字符串?
-
目前我正在为相应的策略使用 SAS 连接字符串。我正在使用主连接字符串
标签: azureservicebus azure-eventhub service-bus-explorer