Reputation: 760
I've been using this library to fetch ApplicationInsights data from Azure (https://www.nuget.org/packages/Microsoft.Azure.ApplicationInsights/), but it's only a preview library and is kind of dated (last updated 19/04/2018).
I'm using an AD role associated with my ApplicationInsights data to permit it's use - which works - but I would like to use a package that's a bit more modern/supported. Is there an updated version of this package that I'm missing or an alternative to the ApplicationInsightsDataClient
hidden in the main ApplicationInsights nuget package that I'm missing (I really don't want to have to build my own REST wrapper since I am sure this is something that Microsoft or someone else has done already)?
Thanks!
Upvotes: 1
Views: 1073
Reputation: 2104
Edit (October 2021)
New library is released by Microsoft so current answer is Azure.Monitor.Query
Old Answer
Microsoft.Azure.ApplicationInsights.Query package is supported one, and new preview was released just today.
It looks like that package you're using should be deprecated, but I see it is still linked from the Application Insights REST API documentation, not sure what is the best way to contact Microsoft in order to fix it.
EDIT: Everything seem to be fixed now. Microsoft.Azure.ApplicationInsights package is deprecated on nuget.org, suggested alternative is Microsoft.Azure.ApplicationInsights.Query and documentation points to correct package.
Upvotes: 2