Skip to content

Commit fd3834a

Browse files
committed
Update Start-UpdateTokensTimer.ps1
1 parent f93af7c commit fd3834a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Modules/CIPPCore/Public/Entrypoints/Timer Functions/Start-UpdateTokensTimer.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ function Start-UpdateTokensTimer {
6565
} else {
6666
Set-AzKeyVaultSecret -VaultName $KV -Name 'ApplicationSecret' -SecretValue (ConvertTo-SecureString -String $AppSecret.secretText -AsPlainText -Force)
6767
}
68+
Write-LogMessage -API 'Update Tokens' -message "New application secret generated for $AppId. Expiration date: $($AppSecret.endDateTime)." -sev 'INFO'
6869
}
6970

7071
# Clean up expired application secrets

0 commit comments

Comments
 (0)