Java WebApp and Managed Identity

Riccardo Pomato 21 Reputation points Microsoft Employee

anybody can help me to understand if there is any way to use Managed Identity (internal a Java Web App) to connect to Event Hub using Microsoft.Azure.EventHubs (legacy) library?

The customer is not able to migrate to Azure.Messaging.EventHubs (latest) yet and he is challenging me to understand if he can still use the legacy one.

Thanks Ric

Azure Event Hubs
Azure Event Hubs
An Azure real-time data ingestion service.
399 questions
{count} votes

Accepted answer
  1. Saurabh Sharma 17,366 Reputation points Microsoft Employee

    @Riccardo Pomato I have received the confirmation from products team that you can refer to this GitHub repo on using Microsoft.Azure.EventHubs library.
    Also, you need to make sure to use AppServiceMSICredentials in a CustomTokenProvider as described here.
    Please let me know if you have any questions.


    Please do not forget to "Accept the answer" wherever the information provided helps you to help others in the community.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful