title: Provision Azure RM environment from TFS for a powershell task
body: <p>How to set up access to Azure subscription to provision resources there with an azure resource template (Web App, Sql Server, etc.) from Visual Studio Online (TFS)? This should grant an agent running a release definition on TFS an access. Now it breaks at <code>Get-AzureRmContext</code> with that it demands to call <code>Login-AzureRmAccount</code>. But that should be automated deployment without pop up login windows. With "Azure App Service Deploy" task in TFS we have ability to connect an Azure subscription (not possible for Powershell task). Should some Azure Government be set up? Should TFS Agent be somehow given access to Azure Subscription? </p>