You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 14, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: Instructions/Labs/AZ400_M02_L03_Configure_Agent_Pools_and_Understand_Pipeline_Styles.md
+8-4Lines changed: 8 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -143,6 +143,8 @@ In this exercise, you will create an Azure virtual machine (VM) and use it to cr
143
143
144
144
> **Note**: Follow the installation instructions to install the agent.
145
145
146
+
> **Note**: The name of the zip file you downloaded with the **Download** button should be similar to the following `vsts-agent-win-x64-X.YYY.Z.zip` (at the time of writing this lab the file name is `vsts-agent-win-x64-4.255.0.zip`). The file name will be used later in one of the agent installation commands.
147
+
146
148
1. Start a PowerShell session and run the following commands to create a folder named **agent**.
147
149
148
150
```powershell
@@ -154,11 +156,13 @@ In this exercise, you will create an Azure virtual machine (VM) and use it to cr
154
156
1. Run the following command to extract the content of the downloaded agent installer files:
> **Note**: If you downloaded the agent to a different location (or the downloaded version differs), adjust the above command accordingly.
161
163
164
+
> **Note**: Make sure that the zip file name specified inside the `ExtractToDirectory` command is the same as the zip file name you previously downloaded.
165
+
162
166
#### Task 4: Create a PAT token
163
167
164
168
> **Note**: Before configuring the agent, you need to create a PAT token (unless you have an existing one). To create a PAT token, follow the steps below:
@@ -208,7 +212,7 @@ In this exercise, you will create an Azure virtual machine (VM) and use it to cr
208
212
209
213
1. To configure the agent, perform the following actions when prompted:
210
214
211
-
- Enter the URL of the Azure DevOps organization (**server URL**) in the format `https://aex.dev.azure.com`{your organization name}.
215
+
- Enter the URL of the Azure DevOps organization (**server URL**) in the format `https://dev.azure.com/{your organization name}`.
212
216
- Accept the default authentication type (**`PAT`**).
213
217
- Enter the value of the PAT token you created in the previous step.
214
218
- Enter the agent pool name **`eShopOnWebSelfPool`** you created earlier in this exercise.
@@ -240,7 +244,7 @@ In this exercise, you will create an Azure virtual machine (VM) and use it to cr
240
244
> [!IMPORTANT]
241
245
> In order for the agent to be able to build and deploy Azure resources from the Azure DevOps pipelines (which you will step through in the upcoming labs), you need to install Azure CLI within the operating system of the Azure VM that is hosting the agent.
242
246
243
-
1. Start a web browser and navigate to the page [Install Azure CLI on Windows](https://learn.microsoft.com/en-us/cli/azure/install-azure-cli-windows?tabs=azure-cli&pivots=msi#install-or-update).
247
+
1. Start a web browser and navigate to the page `https://learn.microsoft.com/en-us/cli/azure/install-azure-cli-windows?tabs=azure-cli&pivots=msi#install-or-update`.
244
248
245
249
1. Download and install Azure CLI.
246
250
@@ -306,7 +310,7 @@ In this task, you will create a YAML-based pipeline for the **eShopOnWeb** proje
306
310

307
311
308
312
1. On the **eShopOnWeb** edit pane, in the upper right corner of the pane, click **Validate and save**. Then click **Save**.
309
-
1. On the **eShopOnWeb** edit pane, in the upper right corner of the pane, click **Run pipeline**.
313
+
1. On the **eShopOnWeb** edit pane, in the upper right corner of the pane, click **Run**.
310
314
311
315
> **Note**: The pipeline will run on the self-hosted agent pool you created in the previous exercise.
312
316
1. Open the pipeline run and monitor the job until its successful completion.
0 commit comments