BookmarkSubscribeRSS Feed
sandeep_sas
Fluorite | Level 6

 

Deployment failed:

 

{"code":"DeploymentFailed","message":"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-deployment-operations for usage details.","details":[{"code":"ApplicationDeploymentFailed","message":"The operation to create application failed. Please check operations of deployment 'viya4' under resource group '/subscriptions/284e526b-75f9-4027-9bf3-a04486d5c586/resourceGroups/mrg-sas-viya-on-azure-20230330100841'. Error message: 'At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-deployment-operations for usage details.'"}]}

 

Figure 1.png

 

Raw Error :

 

{

"code" : "DeploymentFailed" ,

"message" : "At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-deployment-operations for usage details." ,

"details" : [

{

"code" : "ApplicationDeploymentFailed" ,

"message" : "The operation to create application failed. Please check operations of deployment 'viya4' under resource group '/subscriptions/284e526b-75f9-4027-9bf3-a04486d5c586/resourceGroups/mrg-sas-viya-on-azure-20230330100841'. Error message: 'At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-deployment-operations for usage details.'"

}

]

}

 

Figure 2.png

 

 

 

 

8 REPLIES 8
mazam
SAS Employee

Hello @sandeep_sas,

 

Could you clarify when you are seeing this error?

 

Per the documentation found here: “The DeploymentFailed error is a general error that doesn't provide the details you need to solve the error. Look in the error details for an error code that provides more information.”

 

The following resources may be helpful in helping gathering additional information regarding your error message:

Find error code - Please refer to the steps under the "Deployment errors" section and provide the details for the failed step(s)

View deployment history with Azure Resource Manager

Quickstart: Assign an Azure role using an ARM template

shekhar_chavan
SAS Employee

In addition to above suggestions also check the Event logs, you should be able to get more details on the error.

 

Home > Resource groups > Viya4 > deployments > related events
sandeep_sas
Fluorite | Level 6
@shekhar
I did explore that earlier. It is the same thing from where I am extracting the error messages.
The error code is pretty generic. 😞
sandeep_sas
Fluorite | Level 6
{
    "status": "Failed",
    "error": {
        "code": "ApplicationDeploymentFailed",
        "message": "The operation to create application failed. Please check operations of deployment 'viya4' under resource group '/subscriptions/284e526b-75f9-4027-9bf3-a04486d5c586/resourceGroups/mrg-sas-viya-on-azure-20230403173032'. Error message: 'At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-deployment-operations for usage details.'",
        "details": [
            {
                "code": "Conflict",
                "message": "{\r\n  \"status\": \"Failed\",\r\n  \"error\": {\r\n    \"code\": \"ResourceDeploymentFailure\",\r\n    \"message\": \"The 'AzureAsyncOperationWaiting' resource operation completed with terminal provisioning state 'Failed'.\",\r\n    \"details\": [\r\n      {\r\n        \"code\": \"DeploymentFailed\",\r\n        \"message\": \"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-deployment-operations for usage details.\",\r\n        \"details\": [\r\n          {\r\n            \"code\": \"Conflict\",\r\n            \"message\": \"{\\r\\n  \\\"status\\\": \\\"Failed\\\",\\r\\n  \\\"error\\\": {\\r\\n    \\\"code\\\": \\\"ResourceDeploymentFailure\\\",\\r\\n    \\\"message\\\": \\\"The 'AzureAsyncOperationWaiting' resource operation completed with terminal provisioning state 'Failed'.\\\",\\r\\n    \\\"details\\\": [\\r\\n      {\\r\\n        \\\"code\\\": \\\"PutResourceGroupError\\\",\\r\\n        \\\"message\\\": \\\"Create or update resource group MC_mrg-sas-viya-on-azure-20230403173032_viya4-aks_australiaeast failed\\\"\\r\\n      }\\r\\n    ]\\r\\n  }\\r\\n}\"\r\n          }\r\n        ]\r\n      }\r\n    ]\r\n  }\r\n}"
            }
        ]
    }
}

As per the document and code error message:

 

sandeep_sas_0-1680508589891.png

 

Any idea how to fix the issue?

 

Conor_H
SAS Employee

Are you trying to reuse the ARM template on the same managed application or resource group? The ARM template will run into conflicts like the ones show above if you keep trying the deployment in the same resource group. Can you delete the managed application, so the managed resource group is also deleted and try again.  It appears there is some conflict with an existing resource. 

 

How do I delete SAS Viya?https://go.documentation.sas.com/doc/en/viyaakscdc/v_001/viyaaksfaq/n09skbpwwk7m4vn122eufqzw4mgr.htm...

sandeep_sas
Fluorite | Level 6

No, this is a fresh new install. I deleted the one I created last time, along with the resource group. 

I start from scratch by creating a new resource group and then deploying the application into that. 

Still the same issue . 😞 @Conor_H  @mazam 

Conor_H
SAS Employee

I have completed several succesfull marketplace deployment in australiaeast over the last few days without issue. I am not able to replicate the error that you are seeing. It might be something specific to your subscription setup. Are you aware of any custom security policies that are present in your Azure subscription? 

josexsquared
Calcite | Level 5

Hi

 

Have you had any progress on this, I am stuck in the same error and don't know how to fix this out

 

Thanks

SAS Innovate 2025: Register Now

Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!

Discussion stats
  • 8 replies
  • 2592 views
  • 2 likes
  • 5 in conversation