From ebf7fe21f58296fdbabc34f0c7b7435878d4ddd8 Mon Sep 17 00:00:00 2001 From: KelvinTegelaar Date: Sun, 15 Oct 2023 17:49:52 +0200 Subject: [PATCH 1/4] Debug log issue --- Scheduler_CIPPNotifications/run.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Scheduler_CIPPNotifications/run.ps1 b/Scheduler_CIPPNotifications/run.ps1 index 86dea5a7b615..f58502cff402 100644 --- a/Scheduler_CIPPNotifications/run.ps1 +++ b/Scheduler_CIPPNotifications/run.ps1 @@ -49,7 +49,7 @@ try { } "@ New-GraphPostRequest -uri 'https://graph.microsoft.com/v1.0/me/sendMail' -tenantid $env:TenantID -type POST -body ($JSONBody) - Write-LogMessage -API 'Alerts' -message "Sent alerts to: $($JSONRecipients)" -tenant $Tenant -sev info + Write-LogMessage -API 'Alerts' -message "Sent alerts to: $($JSONRecipients)" -tenant $Tenant -sev Debug } } } From 9a761c5650605f531391a33459b4c28d26486e8d Mon Sep 17 00:00:00 2001 From: KelvinTegelaar Date: Sun, 15 Oct 2023 17:50:09 +0200 Subject: [PATCH 2/4] debug log --- Scheduler_CIPPNotifications/run.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Scheduler_CIPPNotifications/run.ps1 b/Scheduler_CIPPNotifications/run.ps1 index f58502cff402..d9c1c577f1b0 100644 --- a/Scheduler_CIPPNotifications/run.ps1 +++ b/Scheduler_CIPPNotifications/run.ps1 @@ -79,7 +79,7 @@ try { } "@ New-GraphPostRequest -uri 'https://graph.microsoft.com/v1.0/me/sendMail' -tenantid $env:TenantID -type POST -body ($JSONBody) - Write-LogMessage -API 'Alerts' -message "Sent alerts to: $($Config.email)" -tenant $Tenant -sev info + Write-LogMessage -API 'Alerts' -message "Sent alerts to: $($Config.email)" -tenant $Tenant -sev Debug } } } From 384401071c86606c913c1f030dcd38b041a541a6 Mon Sep 17 00:00:00 2001 From: KelvinTegelaar Date: Sun, 15 Oct 2023 18:23:11 +0200 Subject: [PATCH 3/4] upped version --- version_latest.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/version_latest.txt b/version_latest.txt index f15ec04e09e0..5f7049803b4b 100644 --- a/version_latest.txt +++ b/version_latest.txt @@ -1 +1 @@ -4.4.4 \ No newline at end of file +4.4.5 \ No newline at end of file From c63ad12b7856c63dbe1f5bcd80fb29fdd6c54786 Mon Sep 17 00:00:00 2001 From: KelvinTegelaar Date: Sun, 15 Oct 2023 18:23:45 +0200 Subject: [PATCH 4/4] debug --- Modules/CIPPCore/Public/Get-CIPPAuthentication.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/CIPPCore/Public/Get-CIPPAuthentication.ps1 b/Modules/CIPPCore/Public/Get-CIPPAuthentication.ps1 index f281bae8d301..1de02b590c37 100644 --- a/Modules/CIPPCore/Public/Get-CIPPAuthentication.ps1 +++ b/Modules/CIPPCore/Public/Get-CIPPAuthentication.ps1 @@ -12,7 +12,7 @@ function Get-CIPPAuthentication { $ENV:tenantid = (Get-AzKeyVaultSecret -VaultName $ENV:WEBSITE_DEPLOYMENT_ID -Name "TenantId" -AsPlainText) $ENV:refreshtoken = (Get-AzKeyVaultSecret -VaultName $ENV:WEBSITE_DEPLOYMENT_ID -Name "RefreshToken" -AsPlainText) $ENV:SetFromProfile = $true - Write-LogMessage -message "Reloaded authentication data from KeyVault" -Sev 'info' -API "CIPP Authentication" + Write-LogMessage -message "Reloaded authentication data from KeyVault" -Sev 'debug' -API "CIPP Authentication" return $true }