File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed
Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -53,6 +53,10 @@ $plainPassword = [System.Runtime.InteropServices.Marshal]::PtrToStringAuto($BSTR
5353
5454$resourceGroupName = azd env get-value AZURE_RESOURCE_GROUP
5555$containerAppName = azd env get-value SERVICE_API_NAME
56+ $subscriptionId = azd env get-value AZURE_SUBSCRIPTION_ID
57+
58+ az account set -- subscription $subscriptionId
59+ Write-Host " 🎯 Active Subscription: $ ( az account show -- query ' [name, id]' -- output tsv) "
5660
5761
5862Write-Host " Setup username and password in the secrets..."
Original file line number Diff line number Diff line change 3232# Get resource group and container app name from azd
3333resourceGroupName=$( azd env get-value AZURE_RESOURCE_GROUP)
3434containerAppName=$( azd env get-value SERVICE_API_NAME)
35+ subscriptionId=$( azd env get-value AZURE_SUBSCRIPTION_ID)
36+
37+ az account set --subscription $subscriptionId
38+ echo " 🎯 Active Subscription: $( az account show --query ' [name, id]' --output tsv) "
3539
3640echo " Setup username and password in the secrets..."
3741
You can’t perform that action at this time.
0 commit comments