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
Copy file name to clipboardExpand all lines: learn-pr/azure/review-azure-infrastructure-changes-using-bicep-pull-requests/includes/3-exercise-protect-main-branch.md
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -63,24 +63,24 @@ On the GitHub site, follow these steps to create a repository from the template:
63
63
64
64
## Get the Azure DevOps project
65
65
66
-
Here, you make sure that your Azure DevOps organization is set up to complete the rest of this module. You set it up by running a template that creates a project in Azure DevOps.
66
+
Here, you make sure that your Azure DevOps organization is set up to complete the rest of this module. Run a template that sets up your Azure DevOps organization.
67
67
68
-
> [!div class="nextstepaction"]
69
-
> [Run the template](https://azuredevopsdemogenerator.azurewebsites.net/?name=bicepreview)
68
+
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.
70
69
71
-
On the Azure DevOps Demo Generator site, follow these steps:
70
+
1. When prompted to **Enter the template number from the list of templates**, enter **44** for **Review Azure infrastructure changes by using Bicep and pull requests**, then press **Enter**.
72
71
73
-
1.Select **Sign In**and accept the usage terms.
72
+
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.
74
73
75
-
1. On the **Create New Project** page, select your Azure DevOps organization. Then enter a project name, such as _toy-website-review_.
74
+
> [!NOTE]
75
+
> 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.
76
76
77
-
:::image type="content" source="../media/3-create-new-project.png" alt-text="Screenshot that shows creating a project through the Azure DevOps Demo Generator.":::
77
+
1. Enter your Azure DevOps organization name, then press **Enter**.
78
78
79
-
1.Select **Create Project**.
79
+
1.If prompted, enter your Azure DevOps PAT, then press **Enter**.
80
80
81
-
The template takes a few moments to run. It automatically creates a pipeline and Bicep file that you'll use in later exercises.
81
+
1. Enter a project name such as *toy-website-review*, then press **Enter**.
82
82
83
-
1.Select **Navigate to project** to go to your project in Azure DevOps.
83
+
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.
0 commit comments