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

@@ -6,7 +6,7 @@ param(
[Parameter (Mandatory=$true)] [string] $TenantId
)
az login --service-principal --username $ClientId --password $ClientSecret --tenant $TenantId | Out-Null
az login --service-principal --username $ClientId --password=$ClientSecret --tenant $TenantId | Out-Null
az account set --subscription $SubscriptionId | Out-Null
$groupExist = az group exists --name $TempResourceGroupName