Skip to content

Commit a6c49c2

Browse files
scottaddieCopilot
andauthored
Update azd section of Identity troubleshooting guide (#48038)
* Update azd section of Identity troubleshooting guide * Update sdk/identity/azure-identity/TROUBLESHOOTING.md Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 582869e commit a6c49c2

1 file changed

Lines changed: 12 additions & 4 deletions

File tree

sdk/identity/azure-identity/TROUBLESHOOTING.md

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -206,11 +206,19 @@ az account get-access-token --output json --resource https://management.core.win
206206

207207
#### Verify the Azure Developer CLI can obtain tokens
208208

209-
You can manually verify that the Azure Developer CLI is properly authenticated and can obtain tokens. First use the `auth status` command to verify the account which is currently logged in to the Azure Developer CLI.
209+
You can manually verify that the Azure Developer CLI is properly authenticated and can obtain tokens. Execute the command corresponding to your CLI version to verify the account currently logged in.
210210

211-
```bash
212-
azd auth status
213-
```
211+
- In Azure Developer CLI versions >= 1.23.0:
212+
213+
```bash
214+
azd auth status
215+
```
216+
217+
- In Azure Developer CLI versions < 1.23.0:
218+
219+
```bash
220+
azd config list
221+
```
214222

215223
Once you've verified the Azure Developer CLI is using the correct account, you can validate that it's able to obtain tokens for this account.
216224

0 commit comments

Comments
 (0)