We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9c749ed + 42eb951 commit 9c02627Copy full SHA for 9c02627
Modules/CIPPCore/Public/Entrypoints/HTTP Functions/CIPP/Setup/Invoke-ExecCombinedSetup.ps1
@@ -14,7 +14,7 @@ function Invoke-ExecCombinedSetup {
14
$Results = [System.Collections.ArrayList]::new()
15
try {
16
# Set up Azure context if needed for Key Vault access
17
- if ($env:AzureWebJobsStorage -ne 'UseDevelopmentStorage=true' -and $env:MSI_SECRET -or $env:NonLocalHostAzurite -ne 'true') {
+ if (($env:AzureWebJobsStorage -ne 'UseDevelopmentStorage=true' -or $env:NonLocalHostAzurite -ne 'true') -and $env:MSI_SECRET) {
18
Disable-AzContextAutosave -Scope Process | Out-Null
19
$null = Connect-AzAccount -Identity
20
$SubscriptionId = $env:WEBSITE_OWNER_NAME -split '\+' | Select-Object -First 1
0 commit comments