Depending on the Azure tasks you use in your Visual Studio Team Services (VSTS) builds and releases, you will need different connections to Azure. In this post I will show you how to create an Azure Service Endpoint using credentials. To create an Azure Service Endpoint, you first need the Subscription name, and Subscription ID.
Find Subscription Name and ID
- Log in to the new Azure Portal
- Click Subscriptions in the left vertical menu
- Copy the Subscription and Subscription ID values
Create Service Endpoint
With the Subscription name, and Subscription ID, we can now create the Service Endpoint in VSTS.
- Log in to VSTS and select a project
- Click the manage project gear icon in the upper right-hand corner of the page
- Select the Services tab
- Select Azure from the New Service Endpoint drop down
- Select the Credentials radio button
Field | Value |
Connection Name | {AnyValueYouLike} |
Subscription Id | Id value from publish settings file |
Subscription Name | Name value from publish settings file |
Username | The email you use to log into the Azure portal |
Password | The password you use to log into the Azure portal |
- Click OK