You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can confirm this, we've run into the same problem when deploying latest AVD multisession image template
Actual packer step that is failing is:
[INFO] command 'powershell -executionpolicy bypass -file "C:/Windows/Temp/packer-elevated-shell-6363c307-fc28-5c5a-e58f-ce705e0ef871.ps1"' exited with code: 267014
When commented out, the process continues, but fails again at Teams installation:
[INFO] command 'powershell -executionpolicy bypass -file "C:/Windows/Temp/packer-elevated-shell-6363f1b4-f148-b687-5f9d-26d01ce19481.ps1"' exited with code: 16001
When Teams installation script is removed from json, the process completes successfully.
The text was updated successfully, but these errors were encountered:
Pasting from original repository @LadtoHelp
There seems to be an issue with this script whereby multisession images fail to complete the imaging process.
I have worked around by editing this template https://raw.githubusercontent.com/azure/azvmimagebuilder/master/solutions/14_Building_Images_WVD/armTemplateWVD.json by adding
"validExitCodes": [0,267014],
to the installFsLogix json block
I can confirm this, we've run into the same problem when deploying latest AVD multisession image template
Actual packer step that is failing is:
[INFO] command 'powershell -executionpolicy bypass -file "C:/Windows/Temp/packer-elevated-shell-6363c307-fc28-5c5a-e58f-ce705e0ef871.ps1"' exited with code: 267014
When commented out, the process continues, but fails again at Teams installation:
[INFO] command 'powershell -executionpolicy bypass -file "C:/Windows/Temp/packer-elevated-shell-6363f1b4-f148-b687-5f9d-26d01ce19481.ps1"' exited with code: 16001
When Teams installation script is removed from json, the process completes successfully.
The text was updated successfully, but these errors were encountered: