Can I integrate Visual Studio Team Services (VSTS) with Azure virtual machines from another Azure subscription or account? Yes, you can.

Posted: (EET/GMT+2)

 

Let's say your organization is using Microsoft's Visual Studio Team Services to support application development, and you would like to start working with a more DevOps-like solution with a Continuous Deliver (CD) in place.

This usually works very well if both the VSTS team project and the Azure subscription are owned by the same person or company, but what if you would need to push your application to another company's Azure subscription? Can this be done? Yes, however it is not fully trivial.

In VSTS release pipeline configuration, you can specify any Azure subscription, for which you have a service id and/or token available. Currently, setting this up is somewhat complex, since you cannot simply let somebody using Azure to give you "on/off" type of access to a single App Service or virtual machine, for example.

However, it can definitely be done, and works well once the initial setup has been completed. For more information, check out the Azure continuous delivery documentation.