diff --git a/Tasks/AzureAppServiceSettingsV1/task.json b/Tasks/AzureAppServiceSettingsV1/task.json index e0848656ce9c..76e1b99afca3 100644 --- a/Tasks/AzureAppServiceSettingsV1/task.json +++ b/Tasks/AzureAppServiceSettingsV1/task.json @@ -18,7 +18,7 @@ "version": { "Major": 1, "Minor": 160, - "Patch": 2 + "Patch": 3 }, "preview": "true", "minimumAgentVersion": "2.104.1", diff --git a/Tasks/AzureAppServiceSettingsV1/task.loc.json b/Tasks/AzureAppServiceSettingsV1/task.loc.json index cdffd8a13a5c..87634d15ed41 100644 --- a/Tasks/AzureAppServiceSettingsV1/task.loc.json +++ b/Tasks/AzureAppServiceSettingsV1/task.loc.json @@ -18,7 +18,7 @@ "version": { "Major": 1, "Minor": 160, - "Patch": 2 + "Patch": 3 }, "preview": "true", "minimumAgentVersion": "2.104.1", diff --git a/Tasks/AzureFunctionAppContainerV1/task.json b/Tasks/AzureFunctionAppContainerV1/task.json index aa15397c1928..f3ac6d32dbe8 100644 --- a/Tasks/AzureFunctionAppContainerV1/task.json +++ b/Tasks/AzureFunctionAppContainerV1/task.json @@ -18,7 +18,7 @@ "version": { "Major": 1, "Minor": 160, - "Patch": 1 + "Patch": 2 }, "minimumAgentVersion": "2.104.1", "groups": [ diff --git a/Tasks/AzureFunctionAppContainerV1/task.loc.json b/Tasks/AzureFunctionAppContainerV1/task.loc.json index 2aceb3ef4942..6297534c1108 100644 --- a/Tasks/AzureFunctionAppContainerV1/task.loc.json +++ b/Tasks/AzureFunctionAppContainerV1/task.loc.json @@ -18,7 +18,7 @@ "version": { "Major": 1, "Minor": 160, - "Patch": 1 + "Patch": 2 }, "minimumAgentVersion": "2.104.1", "groups": [ diff --git a/Tasks/AzureFunctionAppV1/task.json b/Tasks/AzureFunctionAppV1/task.json index aaecff566757..60c69878a550 100644 --- a/Tasks/AzureFunctionAppV1/task.json +++ b/Tasks/AzureFunctionAppV1/task.json @@ -18,7 +18,7 @@ "version": { "Major": 1, "Minor": 160, - "Patch": 2 + "Patch": 3 }, "minimumAgentVersion": "2.104.1", "groups": [ diff --git a/Tasks/AzureFunctionAppV1/task.loc.json b/Tasks/AzureFunctionAppV1/task.loc.json index 66798afb2d46..1a38d5be6dcf 100644 --- a/Tasks/AzureFunctionAppV1/task.loc.json +++ b/Tasks/AzureFunctionAppV1/task.loc.json @@ -18,7 +18,7 @@ "version": { "Major": 1, "Minor": 160, - "Patch": 2 + "Patch": 3 }, "minimumAgentVersion": "2.104.1", "groups": [ diff --git a/Tasks/AzureWebAppContainerV1/task.json b/Tasks/AzureWebAppContainerV1/task.json index 0af7b8e55bde..937d35282b1a 100644 --- a/Tasks/AzureWebAppContainerV1/task.json +++ b/Tasks/AzureWebAppContainerV1/task.json @@ -18,7 +18,7 @@ "version": { "Major": 1, "Minor": 160, - "Patch": 1 + "Patch": 2 }, "minimumAgentVersion": "2.104.1", "groups": [ diff --git a/Tasks/AzureWebAppContainerV1/task.loc.json b/Tasks/AzureWebAppContainerV1/task.loc.json index 30f789e351e1..25f85fc72448 100644 --- a/Tasks/AzureWebAppContainerV1/task.loc.json +++ b/Tasks/AzureWebAppContainerV1/task.loc.json @@ -18,7 +18,7 @@ "version": { "Major": 1, "Minor": 160, - "Patch": 1 + "Patch": 2 }, "minimumAgentVersion": "2.104.1", "groups": [ diff --git a/Tasks/AzureWebAppV1/task.json b/Tasks/AzureWebAppV1/task.json index 3071173e90fb..3cbddffaa43c 100644 --- a/Tasks/AzureWebAppV1/task.json +++ b/Tasks/AzureWebAppV1/task.json @@ -18,7 +18,7 @@ "version": { "Major": 1, "Minor": 160, - "Patch": 4 + "Patch": 5 }, "minimumAgentVersion": "2.104.1", "groups": [ diff --git a/Tasks/AzureWebAppV1/task.loc.json b/Tasks/AzureWebAppV1/task.loc.json index 1f7fe035f1b1..4b7ca708c5e4 100644 --- a/Tasks/AzureWebAppV1/task.loc.json +++ b/Tasks/AzureWebAppV1/task.loc.json @@ -18,7 +18,7 @@ "version": { "Major": 1, "Minor": 160, - "Patch": 4 + "Patch": 5 }, "minimumAgentVersion": "2.104.1", "groups": [ diff --git a/Tasks/Common/AzureRmDeploy-common/azure-arm-rest/AzureServiceClient.ts b/Tasks/Common/AzureRmDeploy-common/azure-arm-rest/AzureServiceClient.ts index 4af95245be85..732c1ec021af 100644 --- a/Tasks/Common/AzureRmDeploy-common/azure-arm-rest/AzureServiceClient.ts +++ b/Tasks/Common/AzureRmDeploy-common/azure-arm-rest/AzureServiceClient.ts @@ -2,6 +2,8 @@ import tl = require('azure-pipelines-task-lib/task'); import msRestAzure = require("./azure-arm-common"); import webClient = require("./webClient"); +const CorrelationIdInResponse = "x-ms-correlation-request-id"; + export class ApiResult { public error; public result; @@ -132,6 +134,10 @@ export class ServiceClient { request.headers["Authorization"] = "Bearer " + token; httpResponse = await webClient.sendRequest(request); } + + if(!!httpResponse.headers[CorrelationIdInResponse]) { + tl.debug(tl.loc('CorrelationIdForARM', httpResponse.headers[CorrelationIdInResponse])); + } } catch(exception) { let exceptionString: string = exception.toString(); if(exceptionString.indexOf("Hostname/IP doesn't match certificates's altnames") != -1