Add support to client secret containing hyphens (#8927)

This commit is contained in:
Stefano Di Nucci
2023-11-30 19:10:31 +01:00
committed by GitHub
parent d919a375b3
commit ae6af1b8db
2 changed files with 2 additions and 2 deletions

View File

@@ -249,7 +249,7 @@ Function GenerateResourcesAndImage {
}
else {
Write-Verbose "AzureClientId was provided, will use service principal login."
az login --service-principal --username $AzureClientId --password $AzureClientSecret --tenant $AzureTenantId --output none
az login --service-principal --username $AzureClientId --password=$AzureClientSecret --tenant $AzureTenantId --output none
}
az account set --subscription $SubscriptionId
if ($LastExitCode -ne 0) {