Is their any way to send custom tracking data from Azure Automation to application insight.
Ex:
workflow sample {
$instrumentationKey = "1234"
$TelemetryClient = /// how to get the telemetry client based on instrumentation key
$TelemetryClient.Track("New message")
$TelemetryClient.Flush()
}
Note: This is from Azure automation and not from standalone script