Skip to content

Commit 94bdf23

Browse files
committed
add troubleshooting steps for mfa auth
1 parent 82f84cc commit 94bdf23

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

troubleshooting.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,9 +99,17 @@ When the `azd provision` command runs it creates a deployment resource in your s
9999
100100
1. You should now be able to run the `azd provision` command and resume your deployment.
101101
102-
## ERROR: resolving bicep parameters file: fetching current principal id: getting tenant id for subscription...
102+
## ERROR: reauthentication required, run `azd auth login --scope https://management.azure.com//.default` to log in
103103
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.
104104
105+
**Alternate error message text**
106+
107+
Depending on your workflow you may get a different error message for the same issue:
108+
109+
```sh
110+
ERROR: resolving bicep parameters file: fetching current principal id: getting tenant id for subscription...
111+
```
112+
105113
### Workaround
106114
You should complete the MFA experience for your default tenant, and the tenant that you wish to access by running both authentication commands:
107115

0 commit comments

Comments
 (0)