From 6e19e85b786ef09152f7d09b59abadf96a4bb446 Mon Sep 17 00:00:00 2001 From: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com> Date: Fri, 4 Oct 2024 13:20:40 -0700 Subject: [PATCH] Need to add environment to subscription configuration (#1697) Co-authored-by: Wes Haggard --- eng/common/TestResources/deploy-test-resources.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/eng/common/TestResources/deploy-test-resources.yml b/eng/common/TestResources/deploy-test-resources.yml index a9b224155..a0fcc2e31 100644 --- a/eng/common/TestResources/deploy-test-resources.yml +++ b/eng/common/TestResources/deploy-test-resources.yml @@ -60,6 +60,7 @@ steps: '@ | ConvertFrom-Json -AsHashtable; $context = Get-AzContext + $subscriptionConfiguration["Environment"] = $context.Environment.Name $subscriptionConfiguration["SubscriptionId"] = $context.Subscription.Id $subscriptionConfiguration["TenantId"] = $context.Subscription.TenantId $subscriptionConfiguration["TestApplicationId"] = $context.Account.Id