Skip to content

Commit 25548ad

Browse files
Update Deployment Guide with Azure authentication steps
Added instructions for authenticating with Azure in VS Code Web.
1 parent 63fc07c commit 25548ad

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

docs/DeploymentGuide.md

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,8 @@ Select one of the following options to deploy the Content Processing Solution Ac
120120
<details>
121121
<summary><b>Option C: Visual Studio Code Web</b></summary>
122122

123+
### VS Code Web
124+
123125
[![Open in Visual Studio Code Web](https://img.shields.io/static/v1?style=for-the-badge&label=Visual%20Studio%20Code%20(Web)&message=Open&color=blue&logo=visualstudiocode&logoColor=white)](https://vscode.dev/azure/?vscode-azure-exp=foundry&agentPayload=eyJiYXNlVXJsIjogImh0dHBzOi8vcmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbS9taWNyb3NvZnQvY29udGVudC1wcm9jZXNzaW5nLXNvbHV0aW9uLWFjY2VsZXJhdG9yL3JlZnMvaGVhZHMvbWFpbi9pbmZyYS92c2NvZGVfd2ViIiwgImluZGV4VXJsIjogIi9pbmRleC5qc29uIiwgInZhcmlhYmxlcyI6IHsiYWdlbnRJZCI6ICIiLCAiY29ubmVjdGlvblN0cmluZyI6ICIiLCAidGhyZWFkSWQiOiAiIiwgInVzZXJNZXNzYWdlIjogIiIsICJwbGF5Z3JvdW5kTmFtZSI6ICIiLCAibG9jYXRpb24iOiAiIiwgInN1YnNjcmlwdGlvbklkIjogIiIsICJyZXNvdXJjZUlkIjogIiIsICJwcm9qZWN0UmVzb3VyY2VJZCI6ICIiLCAiZW5kcG9pbnQiOiAiIn0sICJjb2RlUm91dGUiOiBbImFpLXByb2plY3RzLXNkayIsICJweXRob24iLCAiZGVmYXVsdC1henVyZS1hdXRoIiwgImVuZHBvaW50Il19)
124126

125127
1. Click the badge above (may take a few minutes to load)
@@ -132,13 +134,20 @@ Select one of the following options to deploy the Content Processing Solution Ac
132134
sh install.sh
133135
```
134136
During this process, you’ll be prompted with the message:
137+
<br> Choose “**Overwrite with versions from template**” and provide a unique environment name when prompted.
135138
```
136139
What would you like to do with these files?
137140
- Overwrite with versions from template
138141
- Keep my existing files unchanged
139142
```
140-
Choose “**Overwrite with versions from template**” and provide a unique environment name when prompted.
141-
6. Proceed to [Step 3: Configure Deployment Settings](#step-3-configure-deployment-settings)
143+
144+
6. **Authenticate with Azure** (VS Code Web requires device code authentication):
145+
146+
```shell
147+
az login --use-device-code
148+
```
149+
> **Note:** In VS Code Web environment, the regular `az login` command may fail. Use the `--use-device-code` flag to authenticate via device code flow. Follow the prompts in the terminal to complete authentication.
150+
7. Proceed to [Step 3: Configure Deployment Settings](#step-3-configure-deployment-settings)
142151

143152
</details>
144153

@@ -544,4 +553,4 @@ Run the build and push script for your operating system:
544553
./infra/scripts/docker-build.ps1
545554
```
546555
547-
> **Note:** These scripts will deploy your local code changes instead of pulling from the GitHub repository.
556+
> **Note:** These scripts will deploy your local code changes instead of pulling from the GitHub repository.

0 commit comments

Comments
 (0)