Hello,
after upgrading to 2018.7.10 because of this problem:
we are now getting a following exception:
Deploying package: C:\Octopus\Packages\XXX\XXX.9.0.2.nupkg
August 14th 2018 10:26:22Info
Deploying to Azure WebApp 'XXX', deployment slot 'staging', using subscription-id 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx'
August 14th 2018 10:26:22Error
System.ArgumentNullException: Value cannot be null.
August 14th 2018 10:26:22Error
Parameter name: subscriptionId
August 14th 2018 10:26:22Error
at Microsoft.Azure.CertificateCloudCredentials..ctor(String subscriptionId, X509Certificate2 managementCertificate)
August 14th 2018 10:26:22Error
at Calamari.Azure.Integration.Websites.Publishing.ServiceManagementPublishProfileProvider.GetPublishProperties(AzureAccount account, AzureTargetSite targetSite)
August 14th 2018 10:26:22Error
at Calamari.Azure.Deployment.Conventions.AzureWebAppConvention.GetPublishProfile(VariableDictionary variables)
August 14th 2018 10:26:22Error
at Calamari.Azure.Deployment.Conventions.AzureWebAppConvention.Install(RunningDeployment deployment)
August 14th 2018 10:26:22Error
at Calamari.Deployment.ConventionProcessor.RunInstallConventions()
August 14th 2018 10:26:22Error
at Calamari.Deployment.ConventionProcessor.RunConventions()
August 14th 2018 10:26:22Error
Running rollback conventions...
August 14th 2018 10:26:22Error
Value cannot be null.
August 14th 2018 10:26:22Error
Parameter name: subscriptionId
August 14th 2018 10:26:22Error
System.ArgumentNullException
August 14th 2018 10:26:22Error
at Microsoft.Azure.CertificateCloudCredentials..ctor(String subscriptionId, X509Certificate2 managementCertificate)
August 14th 2018 10:26:22Error
at Calamari.Azure.Integration.Websites.Publishing.ServiceManagementPublishProfileProvider.GetPublishProperties(AzureAccount account, AzureTargetSite targetSite)
August 14th 2018 10:26:22Error
at Calamari.Azure.Deployment.Conventions.AzureWebAppConvention.GetPublishProfile(VariableDictionary variables)
August 14th 2018 10:26:22Error
at Calamari.Azure.Deployment.Conventions.AzureWebAppConvention.Install(RunningDeployment deployment)
August 14th 2018 10:26:22Error
at Calamari.Deployment.ConventionProcessor.RunInstallConventions()
August 14th 2018 10:26:22Error
at Calamari.Deployment.ConventionProcessor.RunConventions()
August 14th 2018 10:26:22Error
at Calamari.Azure.Commands.DeployAzureWebCommand.Execute(String[] commandLineArguments)
August 14th 2018 10:26:22Error
at Calamari.Program.Execute(String[] args)
August 14th 2018 10:26:26Fatal
The remote script failed with exit code 100
Azure Account (using the Management Certificate) we use in Octopus should be working fine since nothing has changed there from our side and “Save and Test” verification works ok:
Also the Azure subscription-id itself is still active in Azure.
Best Regards,
Jindrich