From d6b751cd1f22adac455c3d6dc95615841c251891 Mon Sep 17 00:00:00 2001 From: Stefan Ivemo Date: Fri, 22 Aug 2025 11:20:14 +0200 Subject: [PATCH] Fix application insights secret name --- src/internal/functions/Write-AzOpsMessage.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/internal/functions/Write-AzOpsMessage.ps1 b/src/internal/functions/Write-AzOpsMessage.ps1 index ccc15abc..b3165fe8 100644 --- a/src/internal/functions/Write-AzOpsMessage.ps1 +++ b/src/internal/functions/Write-AzOpsMessage.ps1 @@ -114,7 +114,7 @@ Data = $Data } Write-PSFMessage @params - if ($env:APPLICATIONINSIGHTS_CONNECTION_STRING -ne '' -and $ApplicationInsights -eq $true) { + if ($env:APPLICATIONINSIGHTS_CONNECTIONSTRING -ne '' -and $ApplicationInsights -eq $true) { # Initiate export of log to ApplicationInsights try { # Gather log generated by Write-PSFMessage with retry/backoff logic