I need to list down access policies of all service buses. Is there a possibilty to get this using KQL? Or Dotnet?
I need to list down access policies of all service buses. Is there a possibilty to get this using KQL? Or Dotnet?
Not possible with KQL, I guess?
But you could use ARM, Bicap, or Service Bus REST API to get Service Bus Shared Access Key.
Option: 1
Documentation - ARM Templates - listkeys()
Microsoft.ServiceBus/namespaces/authorizationRules listkeys
Microsoft.ServiceBus/namespaces/queues/authorizationRules listkeys
Microsoft.ServiceBus/namespaces/topics/authorizationRules listkeys
Option: 2
Documentation - Bicep - listkeys()
Microsoft.ServiceBus/namespaces/authorizationRules listkeys
Microsoft.ServiceBus/namespaces/queues/authorizationRules listkeys
Microsoft.ServiceBus/namespaces/topics/authorizationRules listkeys
Option: 3