You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Ubuntu
Task log
##[debug]loaded 28##[debug]Agent.ProxyUrl=undefined##[debug]Agent.CAInfo=undefined##[debug]Agent.ClientCert=undefined##[debug]Agent.SkipCertValidation=undefined##[debug]agent.proxyurl=undefined##[debug]VSTS_ARM_REST_IGNORE_SSL_ERRORS=undefined##[debug]AZURE_HTTP_USER_AGENT=VSTS_26278c41-9e4b-4909-91bd-a7e3e36e110d_build_5_0##[debug]check path : /home/vsts/work/_tasks/AzureSpringCloud_5679292e-de0e-473a-948e-4874d2d8ef97/0.227.0/node_modules/azure-pipelines-tasks-azure-arm-rest/module.json##[debug]adding resource file: /home/vsts/work/_tasks/AzureSpringCloud_5679292e-de0e-473a-948e-4874d2d8ef97/0.227.0/node_modules/azure-pipelines-tasks-azure-arm-rest/module.json##[debug]system.culture=en-US##[debug]Resource file has already set to: /home/vsts/work/_tasks/AzureSpringCloud_5679292e-de0e-473a-948e-4874d2d8ef97/0.227.0/node_modules/azure-pipelines-tasks-azure-arm-rest/module.json##[debug]Resource file has already set to: /home/vsts/work/_tasks/AzureSpringCloud_5679292e-de0e-473a-948e-4874d2d8ef97/0.227.0/node_modules/azure-pipelines-tasks-azure-arm-rest/module.json##[debug]Agent.TempDirectory=/home/vsts/work/_temp##[debug]Resource file has already set to: /home/vsts/work/_tasks/AzureSpringCloud_5679292e-de0e-473a-948e-4874d2d8ef97/0.227.0/node_modules/azure-pipelines-tasks-azure-arm-rest/module.json##[debug]Resource file has already set to: /home/vsts/work/_tasks/AzureSpringCloud_5679292e-de0e-473a-948e-4874d2d8ef97/0.227.0/node_modules/azure-pipelines-tasks-azure-arm-rest/module.json##[debug]Resource file has already set to: /home/vsts/work/_tasks/AzureSpringCloud_5679292e-de0e-473a-948e-4874d2d8ef97/0.227.0/node_modules/azure-pipelines-tasks-azure-arm-rest/module.json
Starting deployment task execution
##[debug]check path : /home/vsts/work/_tasks/AzureSpringCloud_5679292e-de0e-473a-948e-4874d2d8ef97/0.227.0/task.json##[debug]adding resource file: /home/vsts/work/_tasks/AzureSpringCloud_5679292e-de0e-473a-948e-4874d2d8ef97/0.227.0/task.json##[debug]system.culture=en-US##[warning]Resource file has already set to: /home/vsts/work/_tasks/AzureSpringCloud_5679292e-de0e-473a-948e-4874d2d8ef97/0.227.0/node_modules/azure-pipelines-tasks-azure-arm-rest/module.json##[debug]Processed: ##vso[task.issue type=warning;]Resource file has already set to: /home/vsts/work/_tasks/AzureSpringCloud_5679292e-de0e-473a-948e-4874d2d8ef97/0.227.0/node_modules/azure-pipelines-tasks-azure-arm-rest/module.json##[debug]check path : /home/vsts/work/_tasks/AzureSpringCloud_5679292e-de0e-473a-948e-4874d2d8ef97/0.227.0/node_modules/azure-pipelines-tasks-webdeployment-common/module.json##[debug]adding resource file: /home/vsts/work/_tasks/AzureSpringCloud_5679292e-de0e-473a-948e-4874d2d8ef97/0.227.0/node_modules/azure-pipelines-tasks-webdeployment-common/module.json##[debug]system.culture=en-US
global['_vsts_task_lib_loaded'] = true
Started getParameters
global['_vsts_task_lib_loaded'] = true##[debug]ConnectedServiceName=96930d7e-0983-4786-8d14-8ccca4d9cb45##[debug]AzureSpringCloud=/subscriptions/5c6097b3-0798-4146-8d81-1e3ef0686c2d/resourceGroups/asa-e-rg-01/providers/Microsoft.AppPlatform/Spring/asa-e-si-02##[debug]Action=Deploy##[debug]AppName=hello-world-ado##[debug]DeploymentType=CustomContainer##[debug]UseStagingDeployment=false##[debug]CreateNewDeployment=false##[debug]UseStagingDeployment=false##[debug]DeploymentName=default##[debug]EnvironmentVariables=-env "deployed from ado"##[debug]JvmOptions=undefined##[debug]RuntimeVersion=Java_11##[debug]DotNetCoreMainEntryPath=undefined##[debug]Version=undefined
Relevant log output
Updating hello-world-ado, deployment default...
##[debug]Sending PATCH request to https://management.azure.com/subscriptions/5c6097b3-0798-4146-8d81-1e3ef0686c2d/resourceGroups/asa-e-rg-01/providers/Microsoft.AppPlatform/Spring/asa-e-si-02/apps/hello-world-ado/deployments/default?api-version=2022-03-01-preview##[debug]MSAL - getMSALToken called. force=undefined##[debug][Tue, 17 Oct 2023 00:32:29 GMT] : @azure/[email protected] : Info - acquireTokenByClientCredential called##[debug]MSAL - retrieved token - isFromCache?: true##[debug]CLIENT_RESETSTREAMONRETRY=undefined##[debug][PATCH]https://management.azure.com/subscriptions/5c6097b3-0798-4146-8d81-1e3ef0686c2d/resourceGroups/asa-e-rg-01/providers/Microsoft.AppPlatform/Spring/asa-e-si-02/apps/hello-world-ado/deployments/default?api-version=2022-03-01-preview
Status Code: 400
##[debug]Correlation ID from ARM api call response : 85f73019-c1f5-4eda-8ebb-4928929f131d
Bad Request
{
"error": {
"code": "BadArgument",
"message": "Invalid arguments: properties.source.type can only be changed in PUT request",
"target": null,
"details": [
{
"code": "BadArgument",
"message": "properties.source.type can only be changed in PUT request",
"target": "Properties.Source.Type",
"details": null
}
]
}
}
##[debug]Processed: ##vso[task.logissue type=error;code=BadArgument;]##[error]Deployment Failed with Error: {"statusCode":400,"message":"Invalid arguments: properties.source.type can only be changed in PUT request","code":"BadArgument","details":[{"code":"BadArgument","message":"properties.source.type can only be changed in PUT request","target":"Properties.Source.Type","details":null}]}##[debug]Processed: ##vso[task.issue type=error;]Deployment Failed with Error: {"statusCode":400,"message":"Invalid arguments: properties.source.type can only be changed in PUT request","code":"BadArgument","details":[{"code":"BadArgument","message":"properties.source.type can only be changed in PUT request","target":"Properties.Source.Type","details":null}]}##[debug]task result: Failed##[error]Invalid arguments: properties.source.type can only be changed in PUT request##[debug]Processed: ##vso[task.issue type=error;]Invalid arguments: properties.source.type can only be changed in PUT request##[debug]Processed: ##vso[task.complete result=Failed;]Invalid arguments: properties.source.type can only be changed in PUT request
Aditional info
after creating an application, and trying to deploy a custom container image for the first time using the ADO task fails. If the image was deployed via the CLI first, the ADO task will succeed.
The text was updated successfully, but these errors were encountered:
This issue is stale because it has been open for 180 days with no activity. Remove the stale label or comment on the issue otherwise this will be closed in 5 days
Task name
AzureSpringCloud@0
Task version
No response
Environment type (Please select at least one enviroment where you face this issue)
Azure DevOps Server type
dev.azure.com (formerly visualstudio.com)
Azure DevOps Server Version (if applicable)
No response
Operation system
Ubuntu
Task log
Relevant log output
Aditional info
The text was updated successfully, but these errors were encountered: