Closed marcosgm closed 10 months ago
@marcosgm thanks for the feedback we are reviewing the issue.
@marcosgm code was merged to introduce an escaping character logic on the domain join PowerShell script.
Please test and let us know if you have any comments/feedback.
https://github.com/Azure/avdaccelerator/blob/4b3e0004c2250df3d121d9de57954afa5bfa1f2e/workload/scripts/DSCStorageScripts/Configuration.ps1#L211
When using a password with special symbols, powershell will process them without escaping or enquoting the password variable. This is the error I got when using a domain join username with "Kg6;$$~;PWiZvkDl2a" as a password, executed and sent from an Azure Devops Pipeline variable and then run on a Windows Server 2022 machine where the DSC extension was applied1