Hiya,
I have tried to deploy this using ADO and the above error. Any tips on how to resolve this?
invalidParameter: The value of parameter windowsConfiguration.additionalUnattendContent.content is invalid.
"customScript": "Set-WinSystemLocale en-GB\r\nSet-WinUserLanguageList -LanguageList en-GB -Force\r\nSet-Culture -CultureInfo en-GB\r\nSet-WinHomeLocation -GeoId 242\r\nRestart-Computer -Force",
"timeZone": "GMT Standard Time"
"customData": "[Base64((variables('customScript'))]",
"windowsConfiguration": {
"enableAutomaticUpdates": false,
"provisionVmAgent": true,
"timeZone": "[variables('timeZone')]",
"additionalUnattendContent": [
{
"passName": "oobeSystem",
"componentName": "Microsoft-Windows-Shell-Setup",
"settingName": "FirstLogonCommands",
"content": "cmd /c "copy C:\AzureData\CustomData.bin C:\Config.ps1"copy1%windir%\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -ExecutionPolicy Bypass -file C:\Config.ps1script2"
},
{
"passName": "oobeSystem",
"componentName": "Microsoft-Windows-Shell-Setup",
"settingName": "AutoLogon",
"content": "[concat('', parameters('adminPassword'), 'true1', parameters('adminUserName'), '')]"
}