Azure/azure-functions-java-library

MSI authentication for @ServiceBusQueueTrigger issue

alisharifi01 opened this issue · 0 comments

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?