Update Application Settings for an Azure App Service

With our migration to VSTS I ran into an issue where I wanted to update Application Settings for an Azure App Service. At first I thought I could just modify the Variables in my Release Build Definition. Unfortunately that did not work. ☹️ Variables are geared towards transformation, be it web.config or appsettings.json. What to do?…

Force Pull Request to Master Branch in VSTS

Login to VSTS. Navigate to the master branch for the project you want to force pull requests. Click on the ellipsis and select Branch policies. These are the settings I prefer. I like to have at least one reviewer, and our team size is small enough that it’s OK, maybe not best practices, for the…

How to Export Bitbucket Repositories to VSTS

Should be simple enough. Unfortunately I could not get the importer to work in VSTS. So here is what I did. Made sure I had the latest master branch and all remote branches I wanted to include. Change the origin. Open up Powershell, or your favorite command line tool. Run git remote set-url origin YOUR_VSTS_ORIGIN_URL. It…