azure-pipelines-tasks: Missing localization

Required Information

Entering this information will route you directly to the right team and expedite traction.

Question, Bug, or Feature?
Type: Bug

Enter Task Name: AzureRmWebAppDeployment Azure App Service Deploy

list here (V# not needed):
https://github.com/Microsoft/azure-pipelines-tasks/tree/master/Tasks

Environment

  • Agent - Hosted :
    • If using Hosted agent, provide agent queue name: Hosted

Issue Description

When using JSON variable substitution on the Azure App Service Deploy task, I get warnings in my logs for missing localization variables.

##[warning]Can\'t find loc string for key: JSONvariableSubstitution
##[warning]Can\'t find loc string for key: SubstitutingValueonKey

Task logs

2019-08-11T17:59:23.0077391Z ##[section]Starting: Deploy Azure App Service
2019-08-11T17:59:23.0149076Z ==============================================================================
2019-08-11T17:59:23.0149195Z Task         : Azure App Service deploy
2019-08-11T17:59:23.0149275Z Description  : Deploy to Azure App Service a web, mobile, or API app using Docker, Java, .NET, .NET Core, Node.js, PHP, Python, or Ruby
2019-08-11T17:59:23.0149359Z Version      : 4.156.3
2019-08-11T17:59:23.0149415Z Author       : Microsoft Corporation
2019-08-11T17:59:23.0149500Z Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks/deploy/azure-rm-web-app-deployment
2019-08-11T17:59:23.0149581Z ==============================================================================
2019-08-11T17:59:23.6076412Z Got service connection details for Azure App Service:'frontend'
2019-08-11T17:59:24.4839252Z ##[warning]Can\'t find loc string for key: JSONvariableSubstitution
2019-08-11T17:59:24.4847042Z JSONvariableSubstitution **/config.json
2019-08-11T17:59:24.4916856Z ##[warning]Can\'t find loc string for key: JSONvariableSubstitution
2019-08-11T17:59:24.4917381Z JSONvariableSubstitution d:\a\_temp\temp_web_package_1609305735341433\config.json
2019-08-11T17:59:24.4918501Z ##[warning]Can\'t find loc string for key: SubstitutingValueonKey
2019-08-11T17:59:24.4919020Z SubstitutingValueonKey baseApiUrl
2019-08-11T17:59:24.4919305Z ##[warning]Can\'t find loc string for key: SubstitutingValueonKey
2019-08-11T17:59:24.4919632Z SubstitutingValueonKey authority
2019-08-11T17:59:24.4920009Z ##[warning]Can\'t find loc string for key: SubstitutingValueonKey
2019-08-11T17:59:24.4920302Z SubstitutingValueonKey redirect_uri
2019-08-11T17:59:24.4920589Z ##[warning]Can\'t find loc string for key: SubstitutingValueonKey
2019-08-11T17:59:24.4921063Z SubstitutingValueonKey silent_redirect_uri
2019-08-11T17:59:24.4921367Z ##[warning]Can\'t find loc string for key: SubstitutingValueonKey
2019-08-11T17:59:24.4921712Z SubstitutingValueonKey post_logout_redirect_uri
2019-08-11T17:59:24.4926858Z JSON variable substitution applied successfully.
2019-08-11T17:59:24.8790275Z Updating App Service Application settings. Data: {"WEBSITE_RUN_FROM_PACKAGE":"1"}
2019-08-11T17:59:25.3158920Z Updated App Service Application settings and Kudu Application settings.
2019-08-11T17:59:25.6637059Z Package deployment using ZIP Deploy initiated.
2019-08-11T17:59:30.4573575Z Successfully deployed web package to App Service.
2019-08-11T17:59:35.1485795Z Successfully added release annotation to the Application Insight 
2019-08-11T17:59:35.5219415Z App Service Application URL: 
2019-08-11T17:59:35.5410964Z ##[section]Finishing: Deploy Azure App Service

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 37 (12 by maintainers)

Most upvoted comments

Yep can confirm this is still happening. Will the fix take a while to propagate perhaps?

We had already fixed this issue but yet has not be deployed …It will be available by end of next week.

There is a simple workaround. Add a task “File transform” right before deployment task and use the same build folder and json file names. It does exact same thing as deployment (Azure app service) task does with transformation. Also its clean workaround.

The issue should be reopened, as it wasn’t fixed

Hi Team,

I am still getting the same issue in Azure App Deploy Task. See below logs :

2019-08-29T10:26:40.4363338Z Task : Azure App Service deploy 2019-08-29T10:26:40.4363419Z Description : Deploy to Azure App Service a web, mobile, or API app using Docker, Java, .NET, .NET Core, Node.js, PHP, Python, or Ruby 2019-08-29T10:26:40.4363674Z Version : 4.156.4 2019-08-29T10:26:40.4363735Z Author : Microsoft Corporation 2019-08-29T10:26:40.4363828Z Help : https://docs.microsoft.com/azure/devops/pipelines/tasks/deploy/azure-rm-web-app-deployment

2019-08-29T10:26:48.0316538Z ##[warning]Can't find loc string for key: JSONvariableSubstitution 2019-08-29T10:26:48.0316920Z ##[debug]Processed: ##vso[task.issue type=warning;]Can't find loc string for key: JSONvariableSubstitution 2019-08-29T10:26:48.0317134Z JSONvariableSubstitution d:\a_temp\temp_web_package_27948901297720097\assets\config\app-config.json 2019-08-29T10:26:48.0317369Z ##[warning]Can't find loc string for key: SubstitutingValueonKey 2019-08-29T10:26:48.0317522Z ##[debug]Processed: ##vso[task.issue type=warning;]Can't find loc string for key: SubstitutingValueonKey 2019-08-29T10:26:48.0317866Z SubstitutingValueonKey baseUrl 2019-08-29T10:26:48.0318095Z ##[warning]Can't find loc string for key: SubstitutingValueonKey 2019-08-29T10:26:48.0318260Z ##[debug]Processed: ##vso[task.issue type=warning;]Can't find loc string for key: SubstitutingValueonKey 2019-08-29T10:26:48.0318941Z SubstitutingValueonKey approvalmatrixUrl 2019-08-29T10:26:48.0319261Z ##[warning]Can't find loc string for key: SubstitutingValueonKey 2019-08-29T10:26:48.0319465Z ##[debug]Processed: ##vso[task.issue type=warning;]Can't find loc string for key: SubstitutingValueonKey 2019-08-29T10:26:48.0319812Z SubstitutingValueonKey tenant 2019-08-29T10:26:48.0320096Z ##[warning]Can't find loc string for key: SubstitutingValueonKey 2019-08-29T10:26:48.0320303Z ##[debug]Processed: ##vso[task.issue type=warning;]Can't find loc string for key: SubstitutingValueonKey 2019-08-29T10:26:48.0320503Z SubstitutingValueonKey clientId 2019-08-29T10:26:48.0320793Z ##[warning]Can't find loc string for key: SubstitutingValueonKey 2019-08-29T10:26:48.0320993Z ##[debug]Processed: ##vso[task.issue type=warning;]Can't find loc string for key: SubstitutingValueonKey 2019-08-29T10:26:48.0321187Z SubstitutingValueonKey redirectUri 2019-08-29T10:26:48.0321460Z ##[warning]Can't find loc string for key: SubstitutingValueonKey 2019-08-29T10:26:48.0321662Z ##[debug]Processed: ##vso[task.issue type=warning;]Can't find loc string for key: SubstitutingValueonKey 2019-08-29T10:26:48.0321860Z SubstitutingValueonKey postLogoutRedirectUri 2019-08-29T10:26:48.0322400Z JSON variable substitution applied successfully. loc.messages.JSONvariableSubstitution

Please check this pull request. I do not find any changes made in below pull requests in master branch : https://github.com/microsoft/azure-pipelines-tasks/pull/11143

Regards, Sanjay

Great!! Thereby I am closing the issue. Feel free to reopen if facing any issue.

I can say it is ok for me, western Europe region

Reopening the issue. The fix is still rolling. Should reach all accounts in another week. Apologies was miscommunication.

@SumiranAgg please reopen the issue, you should have not closed it

I went back to v3 of the task as a work around.

Hi, we are also facing the same issue. Is the solution available now?

Regards, Sanjay

We had already fixed this issue but yet has not be deployed …It will be available by end of next week.

Ok, meanwhile any suggestion for workaround?

Hi, has this been released already? I’m having the same issue, but when using the task “IISWebAppDeploymentOnMachineGroup”.