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-devops/deploy-azure-functions/includes/3-set-up-environment.md
+18-13Lines changed: 18 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,29 +30,34 @@ The modules in this learning path form a progression as you follow the Tailspin
30
30
31
31
### Run the template
32
32
33
-
1.Run a template that sets up your Azure DevOps organization:
33
+
Run a template that sets up your Azure DevOps organization.
34
34
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.
37
36
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**.
39
38
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.
41
40
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.
43
43
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**.
45
45
46
-
If a window appears, authorize access to your GitHub account.
46
+
1. If prompted, enter your Azure DevOps PAT, then press **Enter**.
47
47
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.
50
55
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.
52
57
53
-
The template takes a few moments to run.
58
+
1. Select **Fork** at the top-right of the screen.
54
59
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**.
56
61
57
62
> [!IMPORTANT]
58
63
> 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