I'm trying to create a topic using ServiceBusAdministrationClient connected through a namespace's root manage access key (com.azure:azure-messaging-servicebus:7.8.0)
def createOptions = new CreateTopicOptions()
def authRule = new SharedAccessAuthorizationRule(authRuleName, [AccessRights.SEND, AccessRights.LISTEN])
createOptions.authorizationRules.add(authRule)
def topicProps = administrationClient.createTopic(topicName, createOptions)
but there are no AuthorizationRules associated with the topic. I did the same thing when creating a queue and it worked. Any ideas what I might be missing?