Skip to content

Commit 9fb13d7

Browse files
Merge pull request #50242 from ShawnKupfer/WB1773
Fix DevOps Demo Generator
2 parents 7e5abbf + 7a8e640 commit 9fb13d7

File tree

1 file changed

+19
-11
lines changed

1 file changed

+19
-11
lines changed

learn-pr/azure/test-bicep-code-using-azure-pipelines/includes/4-exercise-set-up-environment.md

Lines changed: 19 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -21,26 +21,34 @@ The modules in this learning path are part of a progression. For learning purpos
2121
2222
### Run the template
2323

24-
Run a template that sets up your Azure DevOps project.
24+
Run a template that sets up your Azure DevOps organization.
2525

26-
> [!div class="nextstepaction"]
27-
> [Run the template](https://azuredevopsdemogenerator.azurewebsites.net/?name=testbicep&azure-portal=true)
26+
1. [Get and run the ADOGenerator project](https://github.com/microsoft/AzDevOpsDemoGenerator/blob/main/docs/RunApplication.md) in Visual Studio or the IDE of your choice.
2827

29-
On the Azure DevOps Demo Generator site, follow these steps to run the template:
28+
1. When prompted to **Enter the template number from the list of templates**, enter **41** for **Test your Bicep code by using Azure Pipelines**, then press **Enter**.
3029

31-
1. Select **Sign In** and accept the usage terms.
30+
1. Choose your authentication method. You can [set up and use a Personal Access Token (PAT)](/azure/devops/organizations/accounts/use-personal-access-tokens-to-authenticate#create-a-pat) or use device login.
3231

33-
1. On the **Create New Project** page, select your Azure DevOps organization. Then enter a project name, such as **toy-website-test**.
32+
> [!NOTE]
33+
> If you set up a PAT, If you set up a PAT, make sure to authorize the necessary [scopes](/azure/devops/integrate/get-started/authentication/oauth#scopes). For this module, you can use **Full access**, but in a real-world situation, you should ensure you grant only the necessary scopes.
3434
35-
:::image type="content" source="../media/4-create-new-project.png" alt-text="Screenshot that shows creating a project through the Azure DevOps Demo Generator.":::
35+
1. Enter your Azure DevOps organization name, then press **Enter**.
3636

37-
1. Select **Create Project**.
37+
1. If prompted, enter your Azure DevOps PAT, then press **Enter**.
3838

39-
The template takes a few moments to run. It automatically creates a pipeline and Bicep file for you to work with in the subsequent exercises.
39+
1. Enter a project name such as *toy-website-test*, then press **Enter**.
4040

41-
1. Select **Navigate to project** to go to your project in Azure DevOps.
41+
1. Once your project is created, go to your Azure DevOps organization in your browser (at `https://dev.azure.com/<your-organization-name>/`) and select the project.
4242

43-
[!include[](../../includes/cleanup-steps.md)]
43+
### Fork the repository
44+
45+
If you haven't already, create a fork of the **mslearn-test-bicep-code-using-github-actions** repository.
46+
47+
1. On GitHub, go to the [mslearn-tailspin-spacegame-web](https://github.com/MicrosoftDocs/mslearn-test-bicep-code-using-github-actions) repository.
48+
49+
1. Select **Fork** at the top-right of the screen.
50+
51+
1. Choose your GitHub account as the **Owner**, then select **Create fork**.
4452

4553
## Clone the repository
4654

0 commit comments

Comments
 (0)