0
votes

I am trying to run the below command in powershell to get the AzServiceBusKey from my azure subscription

Get-AzServiceBusKey -ResourceGroupName ts-encompass-bj -Namespace ts-encompass-sb-bj -Name "RootSend"

It throws the error: Get-AzServiceBusKey: Error converting value "The requested resource RootSend does not exist." to type 'Microsoft.Azure.Commands.ServiceBus.ErrorResponseContent'.

Not sure what is this Name property here and how it is set.

1

1 Answers

1
votes

-Name is the AuthorizationRule Name. Something like RootManageSharedAccessKey:

enter image description here