File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
src/WebJobs.Script/FileProvisioning/PowerShell
test/WebJobs.Script.Tests/Resources/FileProvisioning/PowerShell Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 12
12
# Authenticate with Azure PowerShell using MSI.
13
13
# Remove this if you are not planning on using MSI or Azure PowerShell.
14
14
if ($env: MSI_SECRET ) {
15
- Disable-AzContextAutosave
15
+ Disable-AzContextAutosave - Scope Process | Out-Null
16
16
Connect-AzAccount - Identity
17
17
}
18
18
Original file line number Diff line number Diff line change 12
12
# Authenticate with Azure PowerShell using MSI.
13
13
# Remove this if you are not planning on using MSI or Azure PowerShell.
14
14
if ($env: MSI_SECRET ) {
15
- Disable-AzContextAutosave
15
+ Disable-AzContextAutosave - Scope Process | Out-Null
16
16
Connect-AzAccount - Identity
17
17
}
18
18
You can’t perform that action at this time.
0 commit comments