<PackageReference Include="Microsoft.ApplicationInsights" Version="2.23.0" />

Microsoft.ApplicationInsights.Extensibility.Implementation.ApplicationId.ApplicationInsightsApplicationIdProvider

This ApplicationInsightsApplicationIdProvider will query the Application Insights' Breeze endpoint to lookup an Application Id based on Instrumentation Key. This will cache lookup results to prevent repeat queries. This will rely on the ProfileServiceWrapper and FailedRequestsManager to record failed requests and block additional failing requests.
namespace Microsoft.ApplicationInsights.Extensibility.Implementation.ApplicationId { public sealed class ApplicationInsightsApplicationIdProvider : IApplicationIdProvider, IDisposable { public string ProfileQueryEndpoint { get; set; } public ApplicationInsightsApplicationIdProvider(); public void Dispose(); public bool TryGetApplicationId(string instrumentationKey, out string applicationId); } }