@Ifiokobong Offiong Thank you for reaching out to Microsoft Q&A.
Yes,you can access the service bus from your AKS cluster using the managed identities. You need to have any of the below permissions
- Azure Service Bus Data Owner: Use this role to allow full access to Service Bus namespace and its entities (queues, topics, subscriptions, and filters)
- Azure Service Bus Data Sender: Use this role to allow sending messages to Service Bus queues and topics.
- Azure Service Bus Data Receiver: Use this role to allow receiving messages from Service Bus queues and subscriptions.
For more details you can refer to these documentation, and in the same documentation there is sample example in C# in Run the app section in which we are accessing service bus from Azure app service.
Feel free to reach back to me if you have any further questions on this.