From da45805e23ea6cc7d20cd862ffbe8b34fddfc674 Mon Sep 17 00:00:00 2001 From: Ben Broderick Phillips Date: Wed, 9 Oct 2024 19:04:38 -0400 Subject: [PATCH] Update sdk/identity/test-resources-post.ps1 Co-authored-by: Wes Haggard --- sdk/identity/test-resources-post.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/identity/test-resources-post.ps1 b/sdk/identity/test-resources-post.ps1 index 7b5156278acb..d4ada9799efb 100644 --- a/sdk/identity/test-resources-post.ps1 +++ b/sdk/identity/test-resources-post.ps1 @@ -57,7 +57,7 @@ Write-Host "Working directory: $workingFolder" if ($CI) { Write-Host "Logging in to service principal" az cloud set --name $Environment - az login --service-principal -u $env:TestApplicationId --tenant $env:TenantId --allow-no-subscriptions --federated-token $env:ARM_OIDC_TOKEN + az login --service-principal -u $TestApplicationId --tenant $TenantId --allow-no-subscriptions --federated-token $env:ARM_OIDC_TOKEN az account set --subscription $SubscriptionId }