Azure / Azure/azure-functions-java-library
MSI authentication for @ServiceBusQueueTrigger issue
- Dominant language
- Java
- Stars
- 45
- Forks
- 49
- PR merge metrics
- No merged PRs in 30d
Description
Hi
I have tried to use @ServiceBusQueueTrigger via MSI authentication, I have set ServiceBusConnection=Endpoint=sb://{my service bus namespace}.servicebus.windows.net/;Authentication=Managed Identity
It did not work
The runtime error is "Microsoft.Azure.ServiceBus: Value cannot be null. (Parameter 'ServiceBusConnection doesn't have a valid token provider')"
@ServiceBusQueueTrigger worked properly with SAS
I would like to know if @ServiceBusQueueTrigger supports MSI authentication and in case it does, how it's possible to implement it?
Contributor guide
No contributing guide indexed for this repository
Research direction
Start at the @ServiceBusQueueTrigger annotation and trace how ServiceBusConnection is handled for SAS versus Managed Identity. Check the Java library and related runtime documentation for MSI support and the valid connection-string format. Done means the support status and implementation path are documented or the missing support is clearly identified.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, java
- Domain
- backend, cloud
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100