Install Visual Studio and connect to Azure Stack Hub
You can use Visual Studio to write and deploy Azure Resource Manager templates to Azure Stack Hub. The steps in this article describe how to install Visual Studio on Azure Stack Hub or on an external computer if you plan to use Azure Stack Hub through VPN.
Install Visual Studio
Download and run the Web Platform Installer.
Open the Microsoft Web Platform Installer.
Search for Visual Studio Community 2015 with Microsoft Azure SDK - 2.9.6. Click Add, and then Install.
Uninstall the Microsoft Azure PowerShell that's installed as part of the Azure SDK.
Restart the computer after the installation completes.
Connect to Azure Stack Hub with Azure AD
Launch Visual Studio.
From the View menu, select Cloud Explorer.
Select Manage Accounts, then in the new pane, sign in with your Azure Active Directory (Azure AD) credentials.
Once logged in, you can deploy templates or browse available resource types and resource groups to create your own templates.
Connect to Azure Stack Hub with AD FS
Launch Visual Studio.
From Tools, select Options.
Expand Environment in the navigation pane and select Accounts.
Select Add, and enter the User Azure Resource Manger endpoint. For the Azure Stack Development Kit (ASDK), the URL is:
https://management.local.azurestack/external
. For Azure Stack Hub integrated systems, the URL is:https://management.[Region}.[External FQDN]
.Select Add.
Visual Studio calls Azure Resource Manger and discovers the endpoints, including the authentication endpoint, for Azure Directory Federated Services (AD FS).
Select Cloud Explorer from the View menu.
Select Add Account and sign in with your AD FS credentials.
Cloud Explorer queries the available subscriptions. You can select an available subscription to manage.
Browse your existing resources, resource groups, or deploy templates.
Next steps
- Read more about Visual Studio side by side with other Visual Studio versions.
- Develop templates for Azure Stack Hub.