Skip to content

Commit

Permalink
[Identity] Adjust CI setup script (#37238)
Browse files Browse the repository at this point in the history
The version of Azure CLI no longer needs to be pinned. Removing this pin
should also resolve the CI failures trying to install it.

Signed-off-by: Paul Van Eck <paulvaneck@microsoft.com>
  • Loading branch information
pvaneck authored Sep 6, 2024
1 parent 6db6bd9 commit 5ae05fc
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions sdk/identity/test-resources-pre.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,6 @@ $templateFileParameters['sshPubKey'] = $sshKey
Write-Host "Sleeping for a bit to ensure service principal is ready."
Start-Sleep -s 45

# Install this specific version of the Azure CLI to avoid https://github.com/Azure/azure-cli/issues/28358.
pip install azure-cli=="2.56.0"

$az_version = az version
Write-Host "Azure CLI version: $az_version"
az login --service-principal -u $TestApplicationId --tenant $TenantId --allow-no-subscriptions --federated-token $env:ARM_OIDC_TOKEN
Expand Down

0 comments on commit 5ae05fc

Please sign in to comment.