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 Jan 21, 2026. It is now read-only.
Copy file name to clipboardExpand all lines: Instructions/Labs/AZ400_M00_Validate_lab_environment.md
+18-15Lines changed: 18 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
2
2
lab:
3
-
title: 'Validate lab environment'
4
-
module: 'Module 0: Welcome'
3
+
title: "Validate lab environment"
4
+
module: "Module 0: Welcome"
5
5
---
6
6
7
7
# Validate lab environment
@@ -13,7 +13,6 @@ In preparation for the labs, it is crucial to have your environment correctly se
13
13
-**Set up an Azure Subscription:** If you don't already have an Azure subscription, create one by following the instructions on this page or visit [https://azure.microsoft.com/free](https://azure.microsoft.com/free) to sign up for a free.
14
14
15
15
-**Set up an Azure DevOps organization:** If you don't already have an Azure DevOps organization that you can use for the labs, create one by following the instructions on this page, or at [Create an organization or project collection](https://learn.microsoft.com/azure/devops/organizations/accounts/create-organization).
16
-
17
16
-[Git for Windows download page](https://gitforwindows.org/). This will be installed as part of prerequisites for this lab.
18
17
19
18
-[Visual Studio Code](https://code.visualstudio.com/). This will be installed as part of prerequisites for this lab.
@@ -38,13 +37,13 @@ In preparation for the labs, it is crucial to have your environment correctly se
38
37
39
38
1. In the drop-down box on the left, choose **Default Directory**, instead of **Microsoft Account**.
40
39
41
-
1. If prompted (*"We need a few more details"*), provide your name, e-mail address, and location and click **Continue**.
40
+
1. If prompted (_"We need a few more details"_), provide your name, e-mail address, and location and click **Continue**.
42
41
43
42
1. Back at `https://aex.dev.azure.com` with **Default Directory** selected click the blue button **Create new organization**.
44
43
45
-
1. Accept the *Terms of Service* by clicking **Continue**.
44
+
1. Accept the _Terms of Service_ by clicking **Continue**.
46
45
47
-
1. If prompted (*"Almost done"*), leave the name for the Azure DevOps organization at default (it needs to be a globally unique name) and pick a hosting location close to you from the list.
46
+
1. If prompted (_"Almost done"_), leave the name for the Azure DevOps organization at default (it needs to be a globally unique name) and pick a hosting location close to you from the list.
48
47
49
48
1. Once the newly created organization opens in **Azure DevOps**, select **Organization settings** in the bottom left corner.
50
49
@@ -54,7 +53,7 @@ In preparation for the labs, it is crucial to have your environment correctly se
54
53
55
54
1. Once the screen shows the linked Azure Subscription ID at the top, change the number of **Paid parallel jobs** for **MS Hosted CI/CD** from 0 to **1**. Then select **SAVE** button at the bottom.
56
55
57
-
> **Note**: You may **wait a couple of minutes before using the CI/CD capabilities** so that the new settings are reflected in the backend. Otherwise, you will still see the message *"No hosted parallelism has been purchased or granted"*.
56
+
> **Note**: You may **wait a couple of minutes before using the CI/CD capabilities** so that the new settings are reflected in the backend. Otherwise, you will still see the message _"No hosted parallelism has been purchased or granted"_.
58
57
59
58
1. In **Organization Settings**, go to section **Pipelines** and click **Settings**.
60
59
@@ -81,6 +80,7 @@ First, you'll create an **eShopOnWeb** Azure DevOps project to be used by severa
81
80
1. Open your browser and navigate to your Azure DevOps organization.
82
81
83
82
1. Select the **New Project** option and use the following settings:
83
+
84
84
- name: **eShopOnWeb**
85
85
- visibility: **Private**
86
86
- Advanced: Version Control: **Git**
@@ -112,7 +112,7 @@ Now, you'll import the eShopOnWeb into your git repository.
-**src** folder contains the .NET 8 website used on the lab scenarios.
114
114
115
-
1. Leave the web browser window open.
115
+
1. Leave the web browser window open.
116
116
117
117
1. Go to **Repos > Branches**.
118
118
@@ -136,20 +136,23 @@ You will need to create a service connection in Azure DevOps which will allow yo
136
136
137
137

138
138
139
-
1. On the **New service connection** blade, select **Azure Resource Manager** and **Next** (may need to scroll down).
139
+
1. On the **New service connection** blade, select **Azure Resource Manager** and **Next** (you may need to scroll down).
140
+
141
+
1. Select **App registration (automatic)** from the **Identity type** dropbox.
140
142
141
-
1. Select **Workload Identity federation (automatic)** and **Next**.
143
+
1. Select **Workload Identity federation** and **Subscription** under the **Scope level**.
142
144
143
-
> **Note**: You can also use **Workload identity federation (manual)** if you prefer to manually configure the service connection. Follow the steps in the [Azure DevOps documentation](https://learn.microsoft.com/azure/devops/pipelines/library/connect-to-azure) to create the service connection manually.
145
+
> **Note**: You can also use **App registration or managed identity (manual)** if you prefer to manually configure the service connection. Follow the steps in the [Azure DevOps documentation](https://learn.microsoft.com/azure/devops/pipelines/library/connect-to-azure) to create the service connection manually.
144
146
145
147
1. Fill in the empty fields using the information:
146
-
-**Subscription**: Select your Azure subscription.
147
-
-**Resource group**: Select the resource group where you want to deploy resources. If you don't have a resource group, you can create one in the Azure portal following the instructions in [Manage Azure resource groups by using the Azure portal](https://learn.microsoft.com/azure/azure-resource-manager/management/manage-resource-groups-portal).
148
-
-**Service connection name**: Type **`azure subs`**. This name will be referenced in YAML pipelines to access your Azure subscription.
148
+
149
+
-**Subscription**: Select your Azure subscription.
150
+
-**Resource group**: Select the resource group where you want to deploy resources. If you don't have a resource group, you can create one in the Azure portal following the instructions in [Manage Azure resource groups by using the Azure portal](https://learn.microsoft.com/azure/azure-resource-manager/management/manage-resource-groups-portal).
151
+
-**Service connection name**: Type **`azure subs`**. This name will be referenced in YAML pipelines to access your Azure subscription.
149
152
150
153
1. Make sure the **Grant access permission to all pipelines** option is unchecked and select **Save**.
151
154
152
-
> **Note:** The **Grant access permission to all pipelines** option is not recommended for production environments. It is only used in this lab to simplify the configuration of the pipeline.
155
+
> **Important:** The **Grant access permission to all pipelines** option is not recommended for production environments. It is only used in this lab to simplify the configuration of the pipeline.
153
156
154
157
> **Note**: If you see an error message indicating you don't have the necessary permissions to create a service connection, try again, or configure the service connection manually.
0 commit comments