Azure / avdaccelerator

AVD Accelerator deployment automation to simplify the setup of AVD (Azure Virtual Desktop) based on best practices
MIT License
308 stars 201 forks source link

Deployment Failed - Conflict Error #569

Closed Zed-rgb closed 6 months ago

Zed-rgb commented 6 months ago

What happened? Provide a clear and concise description of the bug, including deployment details.

I have tried several times to deploy a 3VM Host pool for Selected Image - Windows10 21H2 - O365, I tried to deselect options for Trusted Launch and TPM before reselecting the desired image but still get the error.

You will see from the error details below that it is constantly trying to use trusted launch which is not an option for a Gen 1 image.

Please provide the correlation id associated with your error or bug.

49bef852-4ef5-410d-96c1-f61f9d29a8dc

What was the expected outcome?

The expected outcome is for the deployment to pass.

Relevant log output

Summary Output
{"code":"DeploymentFailed","target":"/subscriptions/a51bd894-b40b-4c82-ac63-3871e8777b99/providers/Microsoft.Resources/deployments/SH-Batch-0-20240111T135045Z","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":"ResourceDeploymentFailure","target":"/subscriptions/a51bd894-b40b-4c82-ac63-3871e8777b99/resourceGroups/rg-avd-uks-summ-pool-compute/providers/Microsoft.Resources/deployments/SH-0-1-20240111T140015Z","message":"The resource write operation failed to complete successfully, because it reached terminal provisioning state 'Failed'.","details":[{"code":"DeploymentFailed","target":"/subscriptions/a51bd894-b40b-4c82-ac63-3871e8777b99/resourceGroups/rg-avd-uks-summ-pool-compute/providers/Microsoft.Resources/deployments/SH-0-1-20240111T140015Z","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":"BadRequest","message":"Use of TrustedLaunch setting is not supported for the provided image. Please select Trusted Launch Supported Gen2 OS Image. For more information, see https://aka.ms/TrustedLaunch-FAQ."}]}]},{"code":"ResourceDeploymentFailure","target":"/subscriptions/a51bd894-b40b-4c82-ac63-3871e8777b99/resourceGroups/rg-avd-uks-summ-pool-compute/providers/Microsoft.Resources/deployments/SH-0-2-20240111T140015Z","message":"The resource write operation failed to complete successfully, because it reached terminal provisioning state 'Failed'.","details":[{"code":"DeploymentFailed","target":"/subscriptions/a51bd894-b40b-4c82-ac63-3871e8777b99/resourceGroups/rg-avd-uks-summ-pool-compute/providers/Microsoft.Resources/deployments/SH-0-2-20240111T140015Z","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":"BadRequest","message":"Use of TrustedLaunch setting is not supported for the provided image. Please select Trusted Launch Supported Gen2 OS Image. For more information, see https://aka.ms/TrustedLaunch-FAQ."}]}]},{"code":"ResourceDeploymentFailure","target":"/subscriptions/a51bd894-b40b-4c82-ac63-3871e8777b99/resourceGroups/rg-avd-uks-summ-pool-compute/providers/Microsoft.Resources/deployments/SH-0-0-20240111T140015Z","message":"The resource write operation failed to complete successfully, because it reached terminal provisioning state 'Failed'.","details":[{"code":"DeploymentFailed","target":"/subscriptions/a51bd894-b40b-4c82-ac63-3871e8777b99/resourceGroups/rg-avd-uks-summ-pool-compute/providers/Microsoft.Resources/deployments/SH-0-0-20240111T140015Z","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":"BadRequest","message":"Use of TrustedLaunch setting is not supported for the provided image. Please select Trusted Launch Supported Gen2 OS Image. For more information, see https://aka.ms/TrustedLaunch-FAQ."}]}]}]}

Raw Error
{
  "code": "DeploymentFailed",
  "target": "/subscriptions/a51bd894-b40b-4c82-ac63-3871e8777b99/providers/Microsoft.Resources/deployments/SH-Batch-0-20240111T135045Z",
  "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": "ResourceDeploymentFailure",
      "target": "/subscriptions/a51bd894-b40b-4c82-ac63-3871e8777b99/resourceGroups/rg-avd-uks-summ-pool-compute/providers/Microsoft.Resources/deployments/SH-0-1-20240111T140015Z",
      "message": "The resource write operation failed to complete successfully, because it reached terminal provisioning state 'Failed'.",
      "details": [
        {
          "code": "DeploymentFailed",
          "target": "/subscriptions/a51bd894-b40b-4c82-ac63-3871e8777b99/resourceGroups/rg-avd-uks-summ-pool-compute/providers/Microsoft.Resources/deployments/SH-0-1-20240111T140015Z",
          "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": "BadRequest",
              "message": "Use of TrustedLaunch setting is not supported for the provided image. Please select Trusted Launch Supported Gen2 OS Image. For more information, see https://aka.ms/TrustedLaunch-FAQ."
            }
          ]
        }
      ]
    },
    {
      "code": "ResourceDeploymentFailure",
      "target": "/subscriptions/a51bd894-b40b-4c82-ac63-3871e8777b99/resourceGroups/rg-avd-uks-summ-pool-compute/providers/Microsoft.Resources/deployments/SH-0-2-20240111T140015Z",
      "message": "The resource write operation failed to complete successfully, because it reached terminal provisioning state 'Failed'.",
      "details": [
        {
          "code": "DeploymentFailed",
          "target": "/subscriptions/a51bd894-b40b-4c82-ac63-3871e8777b99/resourceGroups/rg-avd-uks-summ-pool-compute/providers/Microsoft.Resources/deployments/SH-0-2-20240111T140015Z",
          "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": "BadRequest",
              "message": "Use of TrustedLaunch setting is not supported for the provided image. Please select Trusted Launch Supported Gen2 OS Image. For more information, see https://aka.ms/TrustedLaunch-FAQ."
            }
          ]
        }
      ]
    },
    {
      "code": "ResourceDeploymentFailure",
      "target": "/subscriptions/a51bd894-b40b-4c82-ac63-3871e8777b99/resourceGroups/rg-avd-uks-summ-pool-compute/providers/Microsoft.Resources/deployments/SH-0-0-20240111T140015Z",
      "message": "The resource write operation failed to complete successfully, because it reached terminal provisioning state 'Failed'.",
      "details": [
        {
          "code": "DeploymentFailed",
          "target": "/subscriptions/a51bd894-b40b-4c82-ac63-3871e8777b99/resourceGroups/rg-avd-uks-summ-pool-compute/providers/Microsoft.Resources/deployments/SH-0-0-20240111T140015Z",
          "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": "BadRequest",
              "message": "Use of TrustedLaunch setting is not supported for the provided image. Please select Trusted Launch Supported Gen2 OS Image. For more information, see https://aka.ms/TrustedLaunch-FAQ."
            }
          ]
        }
      ]
    }
  ]
}
danycontre commented 6 months ago

@Zed-rgb thanks for reporting the issue, we are investigating.

danycontre commented 6 months ago

@Zed-rgb an update was pushed to fix the issue, please try again and let us know the outcome.

cc: @swathibhat1 @moisesjgomez

Zed-rgb commented 6 months ago

Hi Dany,

Deployment succeeded today.

Kind Regards,

Zed Langdon-Smith, MBCS (He/Him) Solutions Engineer (Desktop & Infrastructure) Corporate IT & Smarter Working NHS England

T: 0113 360 8520 M: 07785 370 730 E: @. IM: @.

Working together for the NHS @.*** Advance Notice of Annual leave: 09/09 to 19/09 inc Advance Notice of Training: TBC

From: Dany Contreras @.> Sent: Friday, January 12, 2024 12:04 AM To: Azure/avdaccelerator @.> Cc: Zed Langdon-Smith @.>; Mention @.> Subject: Re: [Azure/avdaccelerator] Deployment Failed - Conflict Error (Issue #569)

@Zed-rgbhttps://github.com/Zed-rgb an update was pushed to fix the issue, please try again and let us know the outcome.

— Reply to this email directly, view it on GitHubhttps://github.com/Azure/avdaccelerator/issues/569#issuecomment-1888161813, or unsubscribehttps://github.com/notifications/unsubscribe-auth/APYMFPM3VRONOBBADTIJYXTYOB4VPAVCNFSM6AAAAABBWVLREWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOBYGE3DCOBRGM. You are receiving this because you were mentioned.Message ID: @.**@.>>

This email is intended only for use by the named addressee. It may contain confidential and/or privileged information. If you are not the intended recipient, you should contact us/the sender immediately and should not disclose, use or rely on this email. We do not accept any liability arising from a third party taking action, or refraining from taking action, on the basis of information contained in this email. Thank you