Skip to content

Commit bcdd6fc

Browse files
Merge pull request #50233 from ShawnKupfer/WB1770
Fix DevOps Demo Generator
2 parents 4ccc246 + 7367302 commit bcdd6fc

File tree

1 file changed

+18
-13
lines changed

1 file changed

+18
-13
lines changed

learn-pr/azure-devops/deploy-azure-functions/includes/3-set-up-environment.md

Lines changed: 18 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -30,29 +30,34 @@ The modules in this learning path form a progression as you follow the Tailspin
3030

3131
### Run the template
3232

33-
1. Run a template that sets up your Azure DevOps organization:
33+
Run a template that sets up your Azure DevOps organization.
3434

35-
> [!div class="nextstepaction"]
36-
> [Run the template](https://azuredevopsdemogenerator.azurewebsites.net/?x-ms-routing-name=self&name=DeployAzureFunction&azure-portal=true)
35+
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.
3736

38-
1. From the Azure DevOps Demo Generator site, select **Sign In**. If prompted, accept the usage terms. The **Create New Project** page appears.
37+
1. When prompted to **Enter the template number from the list of templates**, enter **38** for **Automate Azure Function deployments with Azure Pipelines**, then press **Enter**.
3938

40-
1. On the **Create New Project** page, enter a project name, such as *Space Game - web - Azure Functions*, and then for **Select Organization**, select the organization that you use for your Azure subscription.
39+
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.
4140

42-
:::image type="content" source="../media/3-create-new-project.png" alt-text="A screenshot of the Azure DevOps Demo Generator showing how to create the project.":::
41+
> [!NOTE]
42+
> 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.
4343
44-
1. In the next section, select **Yes, I want to fork this repository**, and then select **Authorize**.
44+
1. Enter your Azure DevOps organization name, then press **Enter**.
4545

46-
If a window appears, authorize access to your GitHub account.
46+
1. If prompted, enter your Azure DevOps PAT, then press **Enter**.
4747

48-
> [!IMPORTANT]
49-
> The enabling this fork option is necessary for the template to connect to your GitHub repository. Select it even if you've already forked the *Space Game* website project. The template uses your existing fork.
48+
1. Enter a project name such as *Space Game - web - Azure Functions*, then press **Enter**.
49+
50+
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.
51+
52+
### Fork the repository
53+
54+
If you haven't already, create a fork of the **mslearn-tailspin-spacegame-web-azure-functions** repository.
5055

51-
1. Select **Create Project**.
56+
1. On GitHub, go to the [mslearn-tailspin-spacegame-web-azure-functions](https://github.com/MicrosoftDocs/mslearn-tailspin-spacegame-web-azure-functions) repository.
5257

53-
The template takes a few moments to run.
58+
1. Select **Fork** at the top-right of the screen.
5459

55-
1. When the project is successfully provisioned, select **Navigate to project** to go to your project in Azure DevOps.
60+
1. Choose your GitHub account as the **Owner**, then select **Create fork**.
5661

5762
> [!IMPORTANT]
5863
> The [Clean up your Azure DevOps environment](/training/modules/deploy-azure-functions/5-clean-up-environment?azure-portal=true) page in this module contains **important steps** that you must complete, even if you don't complete this module. Cleaning up helps ensure that you don't run out of free build minutes.

0 commit comments

Comments
 (0)