|
1 | 1 | # AVM Post Deployment Guide |
| 2 | + |
| 3 | +> **📋 Note**: This guide is specifically for post-deployment steps after using the AVM template. For complete deployment from scratch, see the main [Deployment Guide](./DeploymentGuide.md). |
| 4 | +
|
| 5 | +--- |
| 6 | + |
2 | 7 | This document provides guidance on post-deployment steps after deploying the Build Your Own Copilot Accelerator from the [AVM (Azure Verified Modules) repository](https://github.com/Azure/bicep-registry-modules/tree/main/avm/ptn/sa/build-your-own-copilot). |
3 | 8 |
|
4 | 9 | ## Post Deployment Steps |
5 | | -1. Clone the Repository |
6 | | - First, clone this repository to access the post-deployment scripts: |
7 | | - ```bash |
8 | | - git clone https://github.com/microsoft/Build-your-own-copilot-Solution-Accelerator.git |
9 | | - ``` |
10 | | - ```bash |
11 | | - cd Build-your-own-copilot-Solution-Accelerator |
12 | | - ``` |
13 | 10 |
|
14 | | -2. Import Sample Data -Run bash command printed in the terminal. The bash command will look like the following: |
| 11 | +### 1. Clone the Repository |
| 12 | +First, clone this repository to access the post-deployment scripts: |
| 13 | + |
| 14 | +```bash |
| 15 | +git clone https://github.com/microsoft/Build-your-own-copilot-Solution-Accelerator.git |
| 16 | +cd Build-your-own-copilot-Solution-Accelerator |
| 17 | +``` |
| 18 | + |
| 19 | +### 2. Import Sample Data |
| 20 | + |
| 21 | +**Choose the appropriate command based on your deployment method:** |
| 22 | + |
| 23 | +**If you deployed using custom templates, ARM/Bicep deployments, or `az deployment group` commands:** |
| 24 | +```bash |
| 25 | +bash ./infra/scripts/process_sample_data.sh <your-resource-group-name> |
| 26 | +``` |
| 27 | +> **Note**: Replace `<your-resource-group-name>` with the actual name of the resource group containing your deployed Azure resources. |
| 28 | +
|
| 29 | +> **💡 Tip**: If the deployment metadata does not exist in Azure or has been deleted, the script will prompt you to manually enter the required configuration values. |
| 30 | +
|
| 31 | +**If you deployed using `azd up` command:** |
| 32 | +```bash |
| 33 | +bash ./infra/scripts/process_sample_data.sh |
| 34 | +``` |
| 35 | +> **Note**: The script will automatically take required values from your `azd` environment. |
| 36 | +
|
| 37 | +> **💡 Tip**: Since this guide is for AVM deployments, you'll most likely use the first command with your resource group name. |
| 38 | +
|
| 39 | +### 3. Configure Authentication |
15 | 40 |
|
16 | | - ```bash |
17 | | - bash ./infra/scripts/process_sample_data.sh <resourceGroupName> |
18 | | - ``` |
19 | | - If the deployment does not exist or has been deleted – The script will prompt you to manually enter the required values |
| 41 | +Follow the steps in [App Authentication](./AppAuthentication.md) to configure authentication in App Service. |
20 | 42 |
|
21 | | -3. Add Authentication Provider |
| 43 | +> **Note**: Authentication changes can take up to 10 minutes to propagate. |
22 | 44 |
|
23 | | - Follow steps in [App Authentication](https://github.com/microsoft/Build-your-own-copilot-Solution-Accelerator/blob/main/docs/AppAuthentication.md) to configure authentication in app service. |
24 | | - >Note that Authentication changes can take up to 10 minutes. |
| 45 | +### 4. Troubleshooting: Cleaning Up After a Failed Deployment |
25 | 46 |
|
26 | | -4. Deleting Resources After a Failed Deployment |
| 47 | +If your deployment fails and you need to clean up resources, follow the steps in [Delete Resource Group](./DeleteResourceGroup.md). |
27 | 48 |
|
28 | | - Follow steps in [Delete Resource Group](https://github.com/microsoft/Build-your-own-copilot-Solution-Accelerator/blob/main/docs/DeleteResourceGroup.md) if your deployment fails and/or you need to clean up the resources. |
| 49 | +--- |
29 | 50 |
|
30 | | -By following these steps, you’ll ensure a smooth transition from deployment to hands-on usage. |
| 51 | +By following these steps, you'll ensure a smooth transition from deployment to hands-on usage. |
0 commit comments