When Triggering Webhook in UiPath Orchestrator Error "The specified configuration does not have a telemetry channel. (Parameter 'configuration') " Appears

How to resolve when Error message "The specified configuration does not have a telemetry channel. (Parameter 'configuration') " is obtained when triggering webhook in UiPath Orchestrator ?

Issue Description: When triggering webhook events in UiPath Orchestrator, below error is logged in the event viewer logs:

- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">

- <System>

<Provider Name="WebhookService" />

<EventID Qualifiers="0">0</EventID>

<Level>2</Level>

<Task>0</Task>

<Keywords>0x80000000000000</Keywords>

<TimeCreated SystemTime="2021-07-21T03:01:36.638666500Z" />

<EventRecordID>8759</EventRecordID>

<Channel>Application</Channel>

<Computer>WIN-UBBAO6BR2IA</Computer>

<Security />

</System>

- <EventData>

<Data>Unexpected exception in onMessagesReceived. System.ArgumentException: The specified configuration does not have a telemetry channel. (Parameter 'configuration') at Microsoft.ApplicationInsights.TelemetryClient..ctor(TelemetryConfiguration configuration) at Microsoft.ApplicationInsights.Metrics.Extensibility.ApplicationInsightsTelemetryPipeline..ctor(TelemetryConfiguration telemetryPipeline) at Microsoft.ApplicationInsights.Extensibility.TelemetryConfiguration.GetMetricManager(Boolean createIfNotExists) at Microsoft.ApplicationInsights.Metrics.Extensibility.TelemetryClientExtensions.GetMetricManager(TelemetryClient telemetryClient, MetricAggregationScope aggregationScope) at Microsoft.ApplicationInsights.TelemetryClient.GetMetric(String metricId, String dimension1Name) at UiPath.WebhookService.Telemetry.TelemetryRecorder.UiPath.WebhookService.Telemetry.ITelemetryRecorder.RecordServiceMetric(String name, Object value, IEventTelemetry telemetryData) at UiPath.WebhooksService.Startup.<>c__DisplayClass10_0.<Configure>g__onMessagesReceived|0(LedgerMessage msg)</Data>

</EventData>

</Event>

Resolution :

  1. Disable telemetry in file UiPath.Orchestrator.dll.config, <add key="Telemetry.Enabled" value="false" />,
  2. Restart IIS .
Read more on Specified Configuration Does Not Have Telemetry Channel .