I'm trying to list down all access Shared access policies of Azure Service Bus and coudn't found a starting point

Viewed 36

I need to list down access policies of all service buses. Is there a possibilty to get this using KQL? Or Dotnet?

1 Answers

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

REST Service Bus Namespaces - Authorization Rules API

Related