Deploy templates in Azure Stack Hub using Visual Studio

You can use Visual Studio to deploy Azure Resource Manager templates to Azure Stack Hub.

To deploy a template

  1. Install and connect to Azure Stack Hub with Visual Studio.
  2. Open Visual Studio.
  3. Select File, and then select New. In New Project, select Azure Resource Group.
  4. Enter a Name for the new project, and then select OK.
  5. In Select Azure Template, pick Azure Stack Hub Quickstart from the drop-down list.
  6. Select 101-create-storage-account, and then select OK.
  7. In your new project, expand the Templates node in Solution Explorer to see the available templates.
  8. In Solution Explorer, pick the name of your project, and then select Deploy. Select New Deployment.
  9. In Deploy to Resource Group, use the Subscription drop-down list to select your Microsoft Azure Stack Hub subscription.
  10. From the Resource Group list, choose an existing resource group or create a new one.
  11. From the Resource group location list, choose a location, and then select Deploy.
  12. In Edit Parameters, provide values for the parameters (which vary by template), and then select Save.

Next steps