Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 27 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ The steps below will provision Azure resources and deploy the application code t
```shell
azd auth login
```

For GitHub Codespaces users, if the previous command fails, try:

```shell
Expand All @@ -183,6 +183,32 @@ It will look like the following:

> NOTE: It may take 5-10 minutes after you see 'SUCCESS' for the application to be fully deployed. If you see a "Python Developer" welcome screen or an error page, then wait a bit and refresh the page.

### Login error troubleshooting

If you encounter a login error or need to switch to a different account, follow these steps:

1. Log out of the current session:

```shell
az logout
```

2. Log in again:

```shell
az login
```

Opens a browser to authenticate.

3. Verify account:

```shell
az account show
```

Confirms your active account details.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These steps all use the Azure CLI, but this repo uses the Azure Developer CLI, so these steps shouldn't affect success with this repo. If you need to use a different account, you'd need to use "azd auth logout" and "azd auth login".
If there's an issue with azd login, we could ask that team to add a helpful page under the docs, so that we can link all azd templates to it:
https://learn.microsoft.com/en-us/azure/developer/azure-developer-cli/install-azd


### Deploying again

If you've only changed the backend/frontend code in the `app` folder, then you don't need to re-provision the Azure resources. You can just run:
Expand Down