当尝试在 Azure Gov 中获取服务总线的托管标识令牌时,我尝试使用以下资源:https ://servicebus.usgovcloudapi.net/而不是https://servicebus.azure.net/,就像您在商业(https: //docs.microsoft.com/en-us/azure/service-bus-messaging/service-bus-managed-service-identity),但我收到以下错误:
The resource principal named https://servicebus.usgovcloudapi.net/ was not found in the tenant named ___. This can happen if the application has not been installed by the administrator of the tenant or consented to by any user in the tenant. You might have sent your authentication request to the wrong tenant.
您是否也应该将https://servicebus.azure.net/用于政府中的托管身份?还是政府还不支持服务总线托管标识?