I have a .net core app, which is trying to send the data to eventGrid topic . Using Microsoft.Azure.EventGrid
Nuget to send the same. I am creating a instance of EventGridClient
new EventGridClient(new TopicCredentials(configuration.Key)).
I am trying for Identity approach. but the issue is, not getting any overload which accepts TokenCredential
. Neither in EventGridClient
nor in TopicCredentials
. Event checked in the MSDN suggested Nuget Azure.Messaging.EventGrid
, same case here as well.
how to handle this secnario?
This is available as of version 4.5.0 of the new Azure.Messaging.EventGrid library. It is not available in Microsoft.Azure.EventGrid.