File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1313# Remove this if you are not planning on using MSI or Azure PowerShell.
1414if ($env: MSI_SECRET -and (Get-Module - ListAvailable Az.Accounts)) {
1515 Write-Output " Authenticating PowerShell using Managed Identity..."
16- # Disable-AzContextAutosave -Scope Process | Out-Null
16+ Disable-AzContextAutosave - Scope Process | Out-Null
1717 Connect-AzAccount - Identity
1818}
1919elseif ($env: ARM_TENANT_ID -and $env: ARM_SUBSCRIPTION_ID -and $env: ARM_CLIENT_ID -and $env: ARM_CLIENT_SECRET ) {
Original file line number Diff line number Diff line change 22# See https://aka.ms/functionsmanageddependency for additional information.
33#
44@ {
5- # 'Az' = '5.*'
5+ ' Az' = ' 5.*'
66 # Only need Account and Compute cmdlets for VMSS and VM status checks
7- ' Az.Accounts' = ' 2.*'
8- ' Az.Compute' = ' 4.*'
7+ # 'Az.Accounts' = '2.*'
8+ # 'Az.Compute' = '4.*'
99}
You can’t perform that action at this time.
0 commit comments