Azure WebApp Deployment Failure

(b kilaru) #1

Hi Team,

We are trying to deploy the Azure webapp with Octopus but from 22nd march 2019 it started failing with below error.

Note:

  1. It is happening on all webapp project
  2. Database deployment projects are working fine.
  3. Tested the connection and it was successfull from octopus management subscription.

Can you help on this asap as this is blocker for us.

Error Shows as follows:

Deploying to Azure WebApp ‘as-dev’, using subscription-id ‘**************************************’

Error

Microsoft.WindowsAzure.CloudException: <string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">Request to a downlevel service failed.</string>

Error

at Microsoft.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

Error

at Microsoft.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)

Error

at Microsoft.WindowsAzure.WebSpaceOperationsExtensions.List(IWebSpaceOperations operations)

Error

at Calamari.Azure.Integration.Websites.Publishing.ServiceManagementPublishProfileProvider.GetPublishProperties(String subscriptionId, Byte[] certificateBytes, AzureTargetSite targetSite, String serviceManagementEndpoint)

Error

at Calamari.Azure.Deployment.Conventions.AzureWebAppConvention.GetPublishProfile(VariableDictionary variables)

Error

at Calamari.Azure.Deployment.Conventions.AzureWebAppConvention.Install(RunningDeployment deployment)

Error

at Calamari.Deployment.ConventionProcessor.RunInstallConventions()

Error

at Calamari.Deployment.ConventionProcessor.RunConventions()

Error

Running rollback conventions…

Error

<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">Request to a downlevel service failed.</string>

Error

Microsoft.WindowsAzure.CloudException

Error

at Microsoft.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

Error

at Microsoft.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)

March 24th 2019 21:19:42

Error

at Microsoft.WindowsAzure.WebSpaceOperationsExtensions.List(IWebSpaceOperations operations)

Error

at Calamari.Azure.Integration.Websites.Publishing.ServiceManagementPublishProfileProvider.GetPublishProperties(String subscriptionId, Byte[] certificateBytes, AzureTargetSite targetSite, String serviceManagementEndpoint)

Error

at Calamari.Azure.Deployment.Conventions.AzureWebAppConvention.GetPublishProfile(VariableDictionary variables)

Error

at Calamari.Azure.Deployment.Conventions.AzureWebAppConvention.Install(RunningDeployment deployment)

Error

at Calamari.Deployment.ConventionProcessor.RunInstallConventions()

Error

at Calamari.Deployment.ConventionProcessor.RunConventions()

Error

at Calamari.Azure.Commands.DeployAzureWebCommand.Execute(String[] commandLineArguments)

Error

at Calamari.Program.Execute(String[] args)

Fatal

The remote script failed with exit code 100

Fatal

The action Deploy on the Octopus Server failed

Thanks’
B.K

(Chris Hudson) #3

Hey, is your account in OD using a Mgmt certificate by any chance?
We had the same issue at the sae time.
See this post for instructions.

1 Like
(b kilaru) #4

Yes, we used to use the Managment Certificate account till now…But We Now have created a new Azure Service principle account and the deployments were working fine now… Thanks for the Reply Chris.

1 Like