Skip to content

Commit 3646ffc

Browse files
author
Shreyas-Microsoft
committed
add redeploy note and merge down from main
1 parent fcc3ce7 commit 3646ffc

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

docs/DeploymentGuide.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,9 @@ Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass
160160

161161
## Step 3: Configure Deployment Settings
162162

163+
> ⚠️ **Critical: Redeployment Warning**
164+
> If you have previously run `azd up` in this folder (i.e., a `.azure` folder exists), you must [create a fresh environment](#creating-a-new-environment) to avoid conflicts and deployment failures.
165+
163166
Review the configuration options below. You can customize any settings that meet your needs, or leave them as defaults to proceed with a standard deployment.
164167

165168
### 3.1 Choose Deployment Type (Optional)
@@ -230,6 +233,9 @@ To optimize costs and integrate with your existing Azure infrastructure, you can
230233

231234
## Step 4: Deploy the Solution
232235

236+
> ⚠️ **Critical: Redeployment Warning**
237+
> If you have previously run `azd up` in this folder (i.e., a `.azure` folder exists), you must [create a fresh environment](#creating-a-new-environment) to avoid conflicts and deployment failures.
238+
233239
💡 **Before You Start:** If you encounter any issues during deployment, check our [Troubleshooting Guide](./TroubleShootingSteps.md) for common solutions.
234240

235241
### 4.1 Authenticate with Azure
@@ -324,6 +330,9 @@ If your deployment failed or encountered errors, here are the steps to recover:
324330
<details>
325331
<summary><b>Recover from Failed Deployment</b></summary>
326332

333+
> ⚠️ **Critical: Redeployment Warning**
334+
> If you have previously run `azd up` in this folder (i.e., a `.azure` folder exists), you must [create a fresh environment](#creating-a-new-environment) to avoid conflicts and deployment failures.
335+
327336
**If your deployment failed or encountered errors:**
328337

329338
1. **Try a different region:** Create a new environment and select a different Azure region during deployment
@@ -447,6 +456,9 @@ If you've made local modifications to the code and want to deploy them to Azure,
447456
448457
### Step 3: Deploy Changes
449458
459+
> ⚠️ **Critical: Redeployment Warning**
460+
> If you have previously run `azd up` in this folder (i.e., a `.azure` folder exists), you must [create a fresh environment](#creating-a-new-environment) to avoid conflicts and deployment failures.
461+
450462
Run the deployment command:
451463
```shell
452464
azd up

0 commit comments

Comments
 (0)