Azure / azure-functions-java-library

Contains annotations for writing Azure Functions in Java
MIT License
42 stars 42 forks source link

MSI authentication for @ServiceBusQueueTrigger issue #153

Open alisharifi01 opened 3 years ago

alisharifi01 commented 3 years ago

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?