azure-pipelines-tasks: [BUG]: azurermwebappdeployment@4 Cannot read property 'retrieveSecret' of undefined

Task name

azurermwebappdeployment@4

Task version

4.223.0

Environment type (Please select at least one enviroment where you face this issue)

  • Self-Hosted
  • Microsoft Hosted
  • VMSS Pool
  • Container

Azure DevOps Server type

dev.azure.com (formerly visualstudio.com)

Azure DevOps Server Version (if applicable)

No response

Operation system

Windows latest

Task log

2023-05-25T12:34:24.9728692Z ##[section]Starting: Deploy API
2023-05-25T12:34:24.9840810Z ==============================================================================
2023-05-25T12:34:24.9840984Z Task         : Azure App Service deploy
2023-05-25T12:34:24.9841054Z Description  : Deploy to Azure App Service a web, mobile, or API app using Docker, Java, .NET, .NET Core, Node.js, PHP, Python, or Ruby
2023-05-25T12:34:24.9841185Z Version      : 4.223.0
2023-05-25T12:34:24.9841244Z Author       : Microsoft Corporation
2023-05-25T12:34:24.9841351Z Help         : https://aka.ms/azureappservicetroubleshooting
2023-05-25T12:34:24.9841431Z ==============================================================================
2023-05-25T12:34:25.7847373Z Got service connection details for Azure App Service:'xxxxxxx'
2023-05-25T12:34:27.0365302Z Trying to update App Service Application settings. Data: null
2023-05-25T12:34:27.9649669Z App Service Application settings are already present.
2023-05-25T12:34:28.9849133Z ##[error]TypeError: Cannot read property 'retrieveSecret' of undefined
2023-05-25T12:34:29.4844469Z Successfully updated deployment History at https://xxxxxxxxx
2023-05-25T12:34:29.4874953Z App Service Application URL: https://xxxxxxxnet
2023-05-25T12:34:29.4980036Z ##[section]Finishing: Deploy API

Relevant log output

##[error]TypeError: Cannot read property 'retrieveSecret' of undefined

Aditional info

Previous deployment ( just a few hours ago) worked fine with older version

Task         : Azure App Service deploy
Version      : 4.221.103

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Reactions: 4
  • Comments: 15 (2 by maintainers)

Most upvoted comments

bug duplicate overload 😄