Questions tagged [azure-deployment]

The process of making the raw code (Visual Studio Solution) to Azure Cloud runnable instance.

579 questions
6
votes
4 answers

Azure: what could be the cause of the error "Unable to edit or replace deployment"?

When I recreate my VM I got the following error: Problem occurred during request to Azure services. Cloud provider details: Unable to edit or replace deployment 'VM-Name': previous deployment from '8/20/2019 6:20:33 AM' is still active (expiration…
Kirill Sereda
  • 469
  • 1
  • 10
  • 25
6
votes
1 answer

Setting the environment for XML transformation in an Azure App Service Deploy task

I'm using an Azure DevOps Pipeline to release an ASP.NET MVC system to an Azure Web App. I've configured the build not to apply the XML transforms, so I can apply them later, during the release step, and the same build artefact can be released to…
6
votes
1 answer

How to debug Azure Function QueueTrigger locally

I am developing an azure functions which will be triggered by the azure storage queue. For HTTPTrigger we can debug locally , but am not able to find the way to debug QueueTrigger locally . Can anyone of you tell me how can i acheieve debugging on…
6
votes
2 answers

Automating Deployment in Bot Framework (Bot + LUIS+ QnA + Table Storage)

We have a bot deployed on Azure but we want to give it to a client so he can deploy it run it using his own resources. We need to give them a Powershell script that magically create and deploy all the resources needed for the bot to work. My bot…
6
votes
1 answer

Swapping Azure Staging/Production environments with a SignalR Hub

I have a SignalR service running on an Azure Web Role. I'm interested in deploying a new version of the service, first to Staging and then to the Production deployment slot. My question is if I swap the two deployment slots while there are existing…
Jonathan Rauch
  • 693
  • 1
  • 8
  • 18
6
votes
1 answer

Include TypeScript files in azure git deploy

I'm trying to include TypeScript files in my automatic git deploy so I can showcase code for a framework I'm building. However, whenever I deploy to azurewebsites the deployments do not include the TypeScript files. Site in question:…
6
votes
2 answers

Azure Deployment to new OS Family

I have recently updated my web application to target ASP.NET 4.5 which requires a deployment to a Windows Server 2012. achieved by setting the osFamily value to 3 in the ServiceConfiguration deployment file. However once I have it deployed in…
Christo
  • 2,330
  • 3
  • 24
  • 37
5
votes
1 answer

Windows Azure: Authentication error when trying to create credentials

UPDATE at bottom: I am trying to upload a test app to Windows Azure for the first time and having problems when creating credentials. These are the steps I'm following: I create the credentials and certificate in Visual Studio, and upload the…
ozz
  • 5,098
  • 1
  • 50
  • 73
5
votes
0 answers

how can we pass a variable from jobs.deployment.strategy.runOnce.deploy.steps to on.failure.steps in azure devops deployment jobs

As illustrated in the yaml below, we populate the deploymentFailureReason variable when we know why the deployment failed during any of the tasks contained within parameters.deploymentTemplate. We would like to be able to pass that reason to our…
cResults
  • 733
  • 1
  • 5
  • 17
5
votes
2 answers

Why is 'dependsOn' not recommended in Bicep?

Microsoft documents the purpose of implicit and explicit dependencies. Where the explicit dependency uses 'dependsOn'. But it is mentioned that use cases for this approach are rare. Could use some clarification on the following: Example from…
givinUp__
  • 53
  • 1
  • 4
5
votes
2 answers

Service Fabric FABRIC_E_IMAGEBUILDER_VALIDATION_ERROR: DOWNLOAD PATH SANITIZED Error

I am deploying a Service Fabric application and encountered this error for a resource of type Microsoft.ServiceFabric/clusters/applicationTypes/versions: Status: Failed Error: Code: ClusterChildResourceOperationFailed Message: Resource operation…
Cathleen
  • 51
  • 2
5
votes
1 answer

Getting the name and location of the deployment the webrole belongs to

I want to be able to get the name (named when the hosted service was created) and the location (North Europe, Asia Anywere, etc) of the deployment from within a running web role. I don't want to rely on a certificate and the subscription ID.…
5
votes
2 answers

FAILED TO INITIALIZE RUN FROM PACKAGE.txt

Our pipeline indicates success after deployment. When looking in "Kudo console" in folder wwwroot i observe the following behavior: Deploy Task is nothing special: - task: AzureRmWebAppDeployment@4 displayName: 'Deploy Frontend' inputs: …
Daniel
  • 9,491
  • 12
  • 50
  • 66
5
votes
2 answers

ARM template deployed function app has no host keys and throws errors

I deployed a function app in Azure and on trying to "Code + Test" -> "Test + Run", I only see one key in the key dropdown - default (Function key): App Keys section looks like below: On running with this key, I see a 401 unauthorized…
5
votes
1 answer

Windows Azure Powershell Deployment Error - "The remote server returned an unexpected response"

I'm following the latest February 2011 Azure Training Kit example. I've successfully deployed using New-Deployment -serviceName xxxxmytodo99 -subscriptionId cxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx -certificate…
Paul Rowland
  • 8,244
  • 12
  • 55
  • 76
1 2
3
38 39