Azure DevOps release error - remotedebuggingversion, bad request












0















I'm trying to track down why this release is failing. It is with the Azure Resource Group deployment and has worked until a week ago. The error seems random and the variables appear in 2 of our nested template files, function.json and webApp.json. The original value was null and I changed these values to "VS2012" and "VS2017" without success. I have also tried changing the remoteDebuggingEnabled from false to true without success. The ARM Templates deploy fine when I deploy through Visual Studio but errors with Azure DevOps. The only change was made to the previous task in the Azure File Copy task prior to this task where the version was changed from the "Preview" version 2.* to 1.*



Any ideas? Do I need to provide more information?



The part of the template is under
"type": "Microsoft.Web/sites/config",



2018-11-13T02:54:45.1471124Z ##[section]Starting: Create or Update Azure Infrastructure
2018-11-13T02:54:45.1477792Z ==============================================================================
2018-11-13T02:54:45.1477917Z Task : Azure Resource Group Deployment
2018-11-13T02:54:45.1478008Z Description : Deploy an Azure resource manager (ARM) template to a resource group. You can also start, stop, delete, deallocate all Virtual Machines (VM) in a resource group
2018-11-13T02:54:45.1478131Z Version : 2.141.1
2018-11-13T02:54:45.1478287Z Author : Microsoft Corporation
2018-11-13T02:54:45.1478360Z Help : [More Information](https://aka.ms/argtaskreadme)
2018-11-13T02:54:45.1478455Z ==============================================================================
2018-11-13T02:54:45.5851577Z Checking if the following resource group exists: uiis-dev-rg.
2018-11-13T02:54:45.8038374Z Resource group exists: true.
2018-11-13T02:54:45.8040134Z Creating deployment parameters.
2018-11-13T02:54:45.8110536Z The detected encoding for file 'D:ar1aUIIS-CIdropazureDeploy.json' is 'utf-8'
2018-11-13T02:54:45.8268289Z Starting Deployment.
2018-11-13T02:58:06.2894763Z There were errors in your deployment. Error code: DeploymentFailed.
2018-11-13T02:58:06.2896043Z ##[error]At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-debug for usage details.
2018-11-13T02:58:06.2896936Z ##[error]Details:
2018-11-13T02:58:06.2898051Z ##[error]Conflict: {
"status": "Failed",
"error": {
"code": "ResourceDeploymentFailure",
"message": "The resource operation completed with terminal provisioning state 'Failed'.",
"details": [
{
"code": "DeploymentFailed",
"message": "At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-debug for usage details.",
"details": [
{
"code": "BadRequest",
"message": "{rn "Code": "BadRequest",rn "Message": "The parameter remoteDebuggingVersion has an invalid value.",rn "Target": null,rn "Details": [rn {rn "Message": "The parameter remoteDebuggingVersion has an invalid value."rn },rn {rn "Code": "BadRequest"rn },rn {rn "ErrorEntity": {rn "ExtendedCode": "01007",rn "MessageTemplate": "The parameter {0} has an invalid value.",rn "Parameters": [rn "remoteDebuggingVersion"rn ],rn "Code": "BadRequest",rn "Message": "The parameter remoteDebuggingVersion has an invalid value."rn }rn }rn ],rn "Innererror": nullrn}"
}
]
}
]
}
} undefined
2018-11-13T02:58:06.2899605Z ##[error]Task failed while creating or updating the template deployment.
2018-11-13T02:58:06.2972216Z ##[section]Finishing: Create or Update Azure Infrastructure









share|improve this question

























  • can you show the relevant part of the template? also, have you seen this example: github.com/davidebbo/AzureWebsitesSamples/blob/master/…

    – 4c74356b41
    Nov 13 '18 at 15:05


















0















I'm trying to track down why this release is failing. It is with the Azure Resource Group deployment and has worked until a week ago. The error seems random and the variables appear in 2 of our nested template files, function.json and webApp.json. The original value was null and I changed these values to "VS2012" and "VS2017" without success. I have also tried changing the remoteDebuggingEnabled from false to true without success. The ARM Templates deploy fine when I deploy through Visual Studio but errors with Azure DevOps. The only change was made to the previous task in the Azure File Copy task prior to this task where the version was changed from the "Preview" version 2.* to 1.*



Any ideas? Do I need to provide more information?



The part of the template is under
"type": "Microsoft.Web/sites/config",



2018-11-13T02:54:45.1471124Z ##[section]Starting: Create or Update Azure Infrastructure
2018-11-13T02:54:45.1477792Z ==============================================================================
2018-11-13T02:54:45.1477917Z Task : Azure Resource Group Deployment
2018-11-13T02:54:45.1478008Z Description : Deploy an Azure resource manager (ARM) template to a resource group. You can also start, stop, delete, deallocate all Virtual Machines (VM) in a resource group
2018-11-13T02:54:45.1478131Z Version : 2.141.1
2018-11-13T02:54:45.1478287Z Author : Microsoft Corporation
2018-11-13T02:54:45.1478360Z Help : [More Information](https://aka.ms/argtaskreadme)
2018-11-13T02:54:45.1478455Z ==============================================================================
2018-11-13T02:54:45.5851577Z Checking if the following resource group exists: uiis-dev-rg.
2018-11-13T02:54:45.8038374Z Resource group exists: true.
2018-11-13T02:54:45.8040134Z Creating deployment parameters.
2018-11-13T02:54:45.8110536Z The detected encoding for file 'D:ar1aUIIS-CIdropazureDeploy.json' is 'utf-8'
2018-11-13T02:54:45.8268289Z Starting Deployment.
2018-11-13T02:58:06.2894763Z There were errors in your deployment. Error code: DeploymentFailed.
2018-11-13T02:58:06.2896043Z ##[error]At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-debug for usage details.
2018-11-13T02:58:06.2896936Z ##[error]Details:
2018-11-13T02:58:06.2898051Z ##[error]Conflict: {
"status": "Failed",
"error": {
"code": "ResourceDeploymentFailure",
"message": "The resource operation completed with terminal provisioning state 'Failed'.",
"details": [
{
"code": "DeploymentFailed",
"message": "At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-debug for usage details.",
"details": [
{
"code": "BadRequest",
"message": "{rn "Code": "BadRequest",rn "Message": "The parameter remoteDebuggingVersion has an invalid value.",rn "Target": null,rn "Details": [rn {rn "Message": "The parameter remoteDebuggingVersion has an invalid value."rn },rn {rn "Code": "BadRequest"rn },rn {rn "ErrorEntity": {rn "ExtendedCode": "01007",rn "MessageTemplate": "The parameter {0} has an invalid value.",rn "Parameters": [rn "remoteDebuggingVersion"rn ],rn "Code": "BadRequest",rn "Message": "The parameter remoteDebuggingVersion has an invalid value."rn }rn }rn ],rn "Innererror": nullrn}"
}
]
}
]
}
} undefined
2018-11-13T02:58:06.2899605Z ##[error]Task failed while creating or updating the template deployment.
2018-11-13T02:58:06.2972216Z ##[section]Finishing: Create or Update Azure Infrastructure









share|improve this question

























  • can you show the relevant part of the template? also, have you seen this example: github.com/davidebbo/AzureWebsitesSamples/blob/master/…

    – 4c74356b41
    Nov 13 '18 at 15:05
















0












0








0








I'm trying to track down why this release is failing. It is with the Azure Resource Group deployment and has worked until a week ago. The error seems random and the variables appear in 2 of our nested template files, function.json and webApp.json. The original value was null and I changed these values to "VS2012" and "VS2017" without success. I have also tried changing the remoteDebuggingEnabled from false to true without success. The ARM Templates deploy fine when I deploy through Visual Studio but errors with Azure DevOps. The only change was made to the previous task in the Azure File Copy task prior to this task where the version was changed from the "Preview" version 2.* to 1.*



Any ideas? Do I need to provide more information?



The part of the template is under
"type": "Microsoft.Web/sites/config",



2018-11-13T02:54:45.1471124Z ##[section]Starting: Create or Update Azure Infrastructure
2018-11-13T02:54:45.1477792Z ==============================================================================
2018-11-13T02:54:45.1477917Z Task : Azure Resource Group Deployment
2018-11-13T02:54:45.1478008Z Description : Deploy an Azure resource manager (ARM) template to a resource group. You can also start, stop, delete, deallocate all Virtual Machines (VM) in a resource group
2018-11-13T02:54:45.1478131Z Version : 2.141.1
2018-11-13T02:54:45.1478287Z Author : Microsoft Corporation
2018-11-13T02:54:45.1478360Z Help : [More Information](https://aka.ms/argtaskreadme)
2018-11-13T02:54:45.1478455Z ==============================================================================
2018-11-13T02:54:45.5851577Z Checking if the following resource group exists: uiis-dev-rg.
2018-11-13T02:54:45.8038374Z Resource group exists: true.
2018-11-13T02:54:45.8040134Z Creating deployment parameters.
2018-11-13T02:54:45.8110536Z The detected encoding for file 'D:ar1aUIIS-CIdropazureDeploy.json' is 'utf-8'
2018-11-13T02:54:45.8268289Z Starting Deployment.
2018-11-13T02:58:06.2894763Z There were errors in your deployment. Error code: DeploymentFailed.
2018-11-13T02:58:06.2896043Z ##[error]At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-debug for usage details.
2018-11-13T02:58:06.2896936Z ##[error]Details:
2018-11-13T02:58:06.2898051Z ##[error]Conflict: {
"status": "Failed",
"error": {
"code": "ResourceDeploymentFailure",
"message": "The resource operation completed with terminal provisioning state 'Failed'.",
"details": [
{
"code": "DeploymentFailed",
"message": "At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-debug for usage details.",
"details": [
{
"code": "BadRequest",
"message": "{rn "Code": "BadRequest",rn "Message": "The parameter remoteDebuggingVersion has an invalid value.",rn "Target": null,rn "Details": [rn {rn "Message": "The parameter remoteDebuggingVersion has an invalid value."rn },rn {rn "Code": "BadRequest"rn },rn {rn "ErrorEntity": {rn "ExtendedCode": "01007",rn "MessageTemplate": "The parameter {0} has an invalid value.",rn "Parameters": [rn "remoteDebuggingVersion"rn ],rn "Code": "BadRequest",rn "Message": "The parameter remoteDebuggingVersion has an invalid value."rn }rn }rn ],rn "Innererror": nullrn}"
}
]
}
]
}
} undefined
2018-11-13T02:58:06.2899605Z ##[error]Task failed while creating or updating the template deployment.
2018-11-13T02:58:06.2972216Z ##[section]Finishing: Create or Update Azure Infrastructure









share|improve this question
















I'm trying to track down why this release is failing. It is with the Azure Resource Group deployment and has worked until a week ago. The error seems random and the variables appear in 2 of our nested template files, function.json and webApp.json. The original value was null and I changed these values to "VS2012" and "VS2017" without success. I have also tried changing the remoteDebuggingEnabled from false to true without success. The ARM Templates deploy fine when I deploy through Visual Studio but errors with Azure DevOps. The only change was made to the previous task in the Azure File Copy task prior to this task where the version was changed from the "Preview" version 2.* to 1.*



Any ideas? Do I need to provide more information?



The part of the template is under
"type": "Microsoft.Web/sites/config",



2018-11-13T02:54:45.1471124Z ##[section]Starting: Create or Update Azure Infrastructure
2018-11-13T02:54:45.1477792Z ==============================================================================
2018-11-13T02:54:45.1477917Z Task : Azure Resource Group Deployment
2018-11-13T02:54:45.1478008Z Description : Deploy an Azure resource manager (ARM) template to a resource group. You can also start, stop, delete, deallocate all Virtual Machines (VM) in a resource group
2018-11-13T02:54:45.1478131Z Version : 2.141.1
2018-11-13T02:54:45.1478287Z Author : Microsoft Corporation
2018-11-13T02:54:45.1478360Z Help : [More Information](https://aka.ms/argtaskreadme)
2018-11-13T02:54:45.1478455Z ==============================================================================
2018-11-13T02:54:45.5851577Z Checking if the following resource group exists: uiis-dev-rg.
2018-11-13T02:54:45.8038374Z Resource group exists: true.
2018-11-13T02:54:45.8040134Z Creating deployment parameters.
2018-11-13T02:54:45.8110536Z The detected encoding for file 'D:ar1aUIIS-CIdropazureDeploy.json' is 'utf-8'
2018-11-13T02:54:45.8268289Z Starting Deployment.
2018-11-13T02:58:06.2894763Z There were errors in your deployment. Error code: DeploymentFailed.
2018-11-13T02:58:06.2896043Z ##[error]At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-debug for usage details.
2018-11-13T02:58:06.2896936Z ##[error]Details:
2018-11-13T02:58:06.2898051Z ##[error]Conflict: {
"status": "Failed",
"error": {
"code": "ResourceDeploymentFailure",
"message": "The resource operation completed with terminal provisioning state 'Failed'.",
"details": [
{
"code": "DeploymentFailed",
"message": "At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-debug for usage details.",
"details": [
{
"code": "BadRequest",
"message": "{rn "Code": "BadRequest",rn "Message": "The parameter remoteDebuggingVersion has an invalid value.",rn "Target": null,rn "Details": [rn {rn "Message": "The parameter remoteDebuggingVersion has an invalid value."rn },rn {rn "Code": "BadRequest"rn },rn {rn "ErrorEntity": {rn "ExtendedCode": "01007",rn "MessageTemplate": "The parameter {0} has an invalid value.",rn "Parameters": [rn "remoteDebuggingVersion"rn ],rn "Code": "BadRequest",rn "Message": "The parameter remoteDebuggingVersion has an invalid value."rn }rn }rn ],rn "Innererror": nullrn}"
}
]
}
]
}
} undefined
2018-11-13T02:58:06.2899605Z ##[error]Task failed while creating or updating the template deployment.
2018-11-13T02:58:06.2972216Z ##[section]Finishing: Create or Update Azure Infrastructure






azure deployment azure-devops pipeline






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 13 '18 at 17:03









Joseph Cho

1,92921023




1,92921023










asked Nov 13 '18 at 14:12









Joe GesiorJoe Gesior

1




1













  • can you show the relevant part of the template? also, have you seen this example: github.com/davidebbo/AzureWebsitesSamples/blob/master/…

    – 4c74356b41
    Nov 13 '18 at 15:05





















  • can you show the relevant part of the template? also, have you seen this example: github.com/davidebbo/AzureWebsitesSamples/blob/master/…

    – 4c74356b41
    Nov 13 '18 at 15:05



















can you show the relevant part of the template? also, have you seen this example: github.com/davidebbo/AzureWebsitesSamples/blob/master/…

– 4c74356b41
Nov 13 '18 at 15:05







can you show the relevant part of the template? also, have you seen this example: github.com/davidebbo/AzureWebsitesSamples/blob/master/…

– 4c74356b41
Nov 13 '18 at 15:05














1 Answer
1






active

oldest

votes


















0














I had the same issue. I fixed it by removing every remoteDebbugingVersion entry.
I hope this helps






share|improve this answer























    Your Answer






    StackExchange.ifUsing("editor", function () {
    StackExchange.using("externalEditor", function () {
    StackExchange.using("snippets", function () {
    StackExchange.snippets.init();
    });
    });
    }, "code-snippets");

    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "1"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53282950%2fazure-devops-release-error-remotedebuggingversion-bad-request%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    I had the same issue. I fixed it by removing every remoteDebbugingVersion entry.
    I hope this helps






    share|improve this answer




























      0














      I had the same issue. I fixed it by removing every remoteDebbugingVersion entry.
      I hope this helps






      share|improve this answer


























        0












        0








        0







        I had the same issue. I fixed it by removing every remoteDebbugingVersion entry.
        I hope this helps






        share|improve this answer













        I had the same issue. I fixed it by removing every remoteDebbugingVersion entry.
        I hope this helps







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Nov 15 '18 at 0:32









        DionysDionys

        2,13711120




        2,13711120






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Stack Overflow!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53282950%2fazure-devops-release-error-remotedebuggingversion-bad-request%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Florida Star v. B. J. F.

            Danny Elfman

            Lugert, Oklahoma