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:
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