Azure / avdaccelerator

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

storageAzureFiles bicep module handling DirectoryServiceOptions incorrectly #590

Closed pazdedav closed 4 months ago

pazdedav commented 4 months ago

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

When deploying the Baseline workload with Bicep and using FSLogix with Entra ID Domain Services configuration, the Storage-fslogix-XXXX nested deployment fails with the following error:

The value 'EntraDS' is not allowed for property DirectoryServiceOptions.

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

e9e82a70-912c-4f97-a352-f89c022f2ba4

What was the expected outcome?

Successful deployment of an Azure Storage account, configured with Entra ID Domain Services integration.

Relevant log output

{
  "code": "DeploymentFailed",
  "target": "/subscriptions/xxx/resourceGroups/rg-avd-vdi2-test-euw-storage/providers/Microsoft.Resources/deployments/Storage-fslogix-20240228T084427Z",
  "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": "InvalidRequestPropertyValue",
      "message": "The value 'EntraDS' is not allowed for property DirectoryServiceOptions."
    }
  ]
}
danycontre commented 4 months ago

@pazdedav thanks for reporting the issue and submitting a PR with the fix, it has been merged.