From fa3aca9a0b9ddb43e50eddae344772b0fbc4a9df Mon Sep 17 00:00:00 2001 From: Anthony Norwood Date: Wed, 27 Aug 2025 06:37:30 +0100 Subject: [PATCH] Update authentication header in disassociate DCR script --- .../azure-monitor/agents/azure-monitor-agent-windows-client.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/articles/azure-monitor/agents/azure-monitor-agent-windows-client.md b/articles/azure-monitor/agents/azure-monitor-agent-windows-client.md index 7d467c07f3..d0650eadab 100644 --- a/articles/azure-monitor/agents/azure-monitor-agent-windows-client.md +++ b/articles/azure-monitor/agents/azure-monitor-agent-windows-client.md @@ -485,7 +485,7 @@ $auth = Get-AzAccessToken $AuthenticationHeader = @{ "Content-Type" = "application/json" - "Authorization" = "Bearer " + $auth.Token + "Authorization" = "Bearer " + $(ConvertFrom-SecureString $auth.Token -AsPlainText) } #Get the monitored object