From 5b9db38acaae1f892139b7893a711e43cd5442ec Mon Sep 17 00:00:00 2001 From: Marlene <57748216+marlenezw@users.noreply.github.com> Date: Fri, 30 Aug 2024 11:36:48 +0100 Subject: [PATCH] Update azure-dev.yml --- .github/workflows/azure-dev.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/azure-dev.yml b/.github/workflows/azure-dev.yml index 8c77a2d3..3d5b7e2e 100644 --- a/.github/workflows/azure-dev.yml +++ b/.github/workflows/azure-dev.yml @@ -65,11 +65,7 @@ jobs: $info = $Env:AZURE_CREDENTIALS | ConvertFrom-Json -AsHashtable; Write-Host "::add-mask::$($info.clientSecret)" - az login ` - --service-principal` - --username "$($info.clientId)" ` - --password "$($info.clientSecret)" ` - --tenant "$($info.tenantId)" + az login --service-principal -u "$($info.clientId)" -p "$($info.clientSecret)" --tenant "$($info.tenantId)" shell: pwsh env: AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }}