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
Copy file name to clipboardExpand all lines: troubleshooting.md
+17-1Lines changed: 17 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -97,4 +97,20 @@ When the `azd provision` command runs it creates a deployment resource in your s
97
97
az deployment sub delete -n <deployment-name>
98
98
```
99
99
100
-
1. You should now be able to run the `azd provision` command and resume your deployment.
100
+
1. You should now be able to run the `azd provision` command and resume your deployment.
101
+
102
+
## ERROR: resolving bicep parameters file: fetching current principal id: getting tenant id for subscription...
103
+
This error can happen when you are using an account that has access to multiple subscriptions. The `azd auth` command is not able to retrieve a list of the subscriptions that you can access when that tenant is configured to require a Multi-Factor Auth experience that was not completed.
104
+
105
+
### Workaround
106
+
You should complete the MFA experience for your default tenant, and the tenant that you wish to access by running both authentication commands:
107
+
108
+
1. Authenticate to your default tenant
109
+
```sh
110
+
azd auth login --use-device-code
111
+
```
112
+
113
+
1. Authenticate to the tenant that owns the subscription you want to use
0 commit comments