<PackageReference Include="Microsoft.ApplicationInsights" Version="2.22.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.
public string ProfileQueryEndpoint { get; set; }

Gets or sets the endpoint that is to be used to get the Application Insights resource's profile (Application Id etc.). Default value is "https://dc.services.visualstudio.com/api/profiles/{0}/appId". If this is overwritten, MUST include the '{0}' for string replacement!.

Initialize a new instance of the ApplicationInsightsApplicationIdProvider class.

public void Dispose()

Disposes resources.

public bool TryGetApplicationId(string instrumentationKey, out string applicationId)

Retrieves the Application Id corresponding to a given Instrumentation Key.