As of today I have begun getting the following error when I try to deploy our ASP.NET web services to our Azure web hosting from Team Foundation Services 2015.
Getting down to the details of the error message we have the following.
It generates warnings when executing the Get-AzureWebsite script then generates an error when executing the New-AzureWebsite script.
This has been working for several years without a problem but as of today it is now generating an error. I am unable to deploy our latest code changes because of this error.
UPDATE
After some investigation it appears as if the Azure scripts that are used to underpin the TFS tasks have all been deprecated. Which therefore begs the question, what is the migration path for those deploying to Azure using TFS 2015? Is there a new TFS task which will use the new scripts instead? How do I update my TFS deployment so that it doesn't generate this error?
UPDATE2
I have installed the latest PowerShell and installed the Azure RM Automation cmdlets. I have updated the script Publish-AzureWebDeployment.ps1 to use Get-AzureRmWebApp instead of Get-AzureWebSite and New-AzureRmWebApp instead of New-AzureWebSite but I'm still getting errors.
Have Microsoft provided any updates to TFS or the underlying Azure deployment scripts since deprecating the old Azure scripts? Surely Microsoft aren't expecting the developers to re-write these scripts ourselves?