From 3e529616c99b4f6a1046f004a825c17fdb531e40 Mon Sep 17 00:00:00 2001 From: Karishma Ghiya Date: Wed, 13 Nov 2024 11:46:13 -0800 Subject: [PATCH 1/3] don't pin azure cli to specific version --- sdk/identity/test-resources-pre.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sdk/identity/test-resources-pre.ps1 b/sdk/identity/test-resources-pre.ps1 index ae2518b4caa0..a1566601d076 100644 --- a/sdk/identity/test-resources-pre.ps1 +++ b/sdk/identity/test-resources-pre.ps1 @@ -60,8 +60,8 @@ $env:IDENTITY_SP_CERT_PEM = $pemPath if ($CI) { - # 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" + # Install latest version of the Azure CLI + pip install azure-cli # The owner is a service principal $templateFileParameters['principalUserType'] = 'ServicePrincipal' Write-Host "Sleeping for a bit to ensure service principal is ready." From 7f82963449ab2d7f42abde341133df145cc40e85 Mon Sep 17 00:00:00 2001 From: Karishma Ghiya Date: Wed, 13 Nov 2024 14:13:19 -0800 Subject: [PATCH 2/3] update location --- sdk/identity/identity/tests.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/sdk/identity/identity/tests.yml b/sdk/identity/identity/tests.yml index 6b7e43ec8299..4eb016b19189 100644 --- a/sdk/identity/identity/tests.yml +++ b/sdk/identity/identity/tests.yml @@ -3,6 +3,7 @@ trigger: none extends: template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml parameters: + Location: westus2 PreSteps: - task: AzureCLI@2 displayName: Set OIDC variables From 74a8f8647a7fe90dbda02928dd8c448cf6f0195f Mon Sep 17 00:00:00 2001 From: Karishma Ghiya Date: Wed, 13 Nov 2024 16:25:52 -0800 Subject: [PATCH 3/3] drop installation of azure-cli --- sdk/identity/test-resources-pre.ps1 | 2 -- 1 file changed, 2 deletions(-) diff --git a/sdk/identity/test-resources-pre.ps1 b/sdk/identity/test-resources-pre.ps1 index a1566601d076..6b3c8cb29e90 100644 --- a/sdk/identity/test-resources-pre.ps1 +++ b/sdk/identity/test-resources-pre.ps1 @@ -60,8 +60,6 @@ $env:IDENTITY_SP_CERT_PEM = $pemPath if ($CI) { - # Install latest version of the Azure CLI - pip install azure-cli # The owner is a service principal $templateFileParameters['principalUserType'] = 'ServicePrincipal' Write-Host "Sleeping for a bit to ensure service principal is ready."