You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Set the subscription to the one you want to use (you can use [Get-AzSubscription](https://learn.microsoft.com/powershell/module/az.accounts/get-azsubscription?view=azps-11.3.0) to list available subscriptions):
114
120
115
121
```pwsh
@@ -126,6 +132,12 @@ Use the next command to login with the Azure Dev CLI (AZD) tool:
126
132
azd auth login --use-device-code
127
133
```
128
134
135
+
If you have multiple tenants, you can use the following command instead to log into the correct tenant:
Run the following to verify that you're running the latest PowerShell
16
-
16
+
17
17
```ps1
18
18
$PsVersionTable
19
19
```
@@ -31,7 +31,7 @@ The following tools are pre-requisites to running the associated deployment step
31
31
```ps1
32
32
az version
33
33
```
34
-
34
+
35
35
After the installation, run the following command to [sign in to Azure PowerShell interactively](https://learn.microsoft.com/powershell/azure/authenticate-interactive).
36
36
37
37
```ps1
@@ -45,10 +45,10 @@ The following tools are pre-requisites to running the associated deployment step
45
45
```
46
46
47
47
1. [Install the Azure Dev CLI](https://learn.microsoft.com/azure/developer/azure-developer-cli/install-azd).
48
-
Run the following command to verify that the Azure Dev CLI is installed.
48
+
Run the following command to verify that the Azure Dev CLI is installed and version 1.10.2 or higher.
1. Set the subscription to the one you want to use (you can use [Get-AzSubscription](https://learn.microsoft.com/powershell/module/az.accounts/get-azsubscription?view=azps-11.3.0) to list available subscriptions):
47
52
@@ -60,6 +65,11 @@ The following detailed deployment steps assume you are using a Dev Container ins
60
65
azd auth login --use-device-code
61
66
```
62
67
68
+
If you have multiple tenants, you can use the following command instead to log into the correct tenant:
0 commit comments