Hello @Ashutosh Saini ,
Welcome to the Microsoft Q&A platform.
I see there is no space between between "Managed" and "Identity" Endpoint=sb://<eventhubname>.servicebus.windows.net;Authentication=ManagedIdentity
.
It should work as excepted, when the connection string has a space between "Managed" and "Identity", i.e. Endpoint=sb://<eventhubname>.servicebus.windows.net;Authentication=Managed Identity
.
For more details, you may check out the below links which addressing similar issue:
- https://github.com/Azure/azure-service-bus/issues/322
- https://blog.darkloop.com/post/using-service-app-managed-identity-with-azure-functions-service-bus-bindings
- https://github.com/MicrosoftDocs/azure-docs/issues/34826
Hope this will help. Please let us know if any further queries.
------------------------------
- Please don't forget to click on or upvote button whenever the information provided helps you. Original posters help the community find answers faster by identifying the correct answer. Here is how
- Want a reminder to come back and check responses? Here is how to subscribe to a notification
- If you are interested in joining the VM program and help shape the future of Q&A: Here is how you can be part of Q&A Volunteer Moderators