Closed preetishmadalia closed 2 months ago
How is the RBAC of the SP configured? Could you make sure they have these role assignments? https://learn.microsoft.com/en-us/azure/developer/java/spring-framework/authentication#authorize-access-with-microsoft-entra-id
Thanks for the response. The SP has data sender role. I found an example with works now. We can close this issue.
@preetishmadalia glad to hear that, could you share the example here, for other people who might run into the same issue?
Query/Question Followed example provided in https://github.com/Azure-Samples/azure-spring-boot-samples/tree/main/servicebus/spring-messaging-azure-servicebus/servicebus-spring-messaging
Unauthorized access. 'Send' claim(s) are required to perform this operation. Resource: 'sb:/.servicebus.windows.net/'.
I was able to verify that the SP has access to send messages. However, I am unable to execute by code with this example.
Setup (please complete the following information if applicable):
Information Checklist