Skip to content

Commit

Permalink
Update run.ps1
Browse files Browse the repository at this point in the history
  • Loading branch information
srozemuller committed May 30, 2024
1 parent f195965 commit 3ab08c2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Security-BreakGlassCertRenewer/run.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ $informationPreference = 'Continue'
# Write an information log with the current time.
Write-Output "PowerShell timer trigger function ran! TIME: $currentTime"
# Connect to Azure using the system assigned identity
# Disconnect first to make sure we use fresh credentials
Disconnect-AzAccount
Connect-AzAccount -Identity

$ProgressPreference = "SilentlyContinue"
Expand Down

0 comments on commit 3ab08c2

Please sign in to comment.