Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Azure Virtual Desktop - Custom Configuration solution does not seem to do anything when applied #795

Open
jelder opened this issue Jul 29, 2024 · 5 comments · May be fixed by AppyPeeps/RDS-Templates#1 or #797

Comments

@jelder
Copy link

jelder commented Jul 29, 2024

I am trying to create a host pool VM using the "Custom configuration" option. The custom solution suggested in the instructions (https://raw.githubusercontent.com/Azure/RDS-Templates/master/wvd-sh/arm-template-customization/script.ps1) does not seem to have done anything. For example, the Edge OOBE is unchanged.

The "Learn more" link goes to https://github.com/Azure/RDS-Templates/tree/master/wvd-sh/arm-template-customization

@artisticcheese
Copy link

Not only that but also documentation states that you are expected to upload ZIP file of ARM tempalte but URL link is actually forcing to input PS1 file.

@artisticcheese
Copy link

Probably result of PS1 being changed and requiring now explicetly passing 'AdvancedOptimizations parameter,.

So script shall look like below

& .\VDOT\Virtual-Desktop-Optimization-Tool-main\Windows_VDOT.ps1 -Optimizations All -AcceptEULA -Restart

Documentation needs to be updated and script changed @microsoft

The Optimizations parameter no longer defaults to 'All', you must explicitly pass in this parameter.
This is to allow for running 'AdvancedOptimizations' separately

@jamasten
Copy link
Contributor

jamasten commented Jul 30, 2024 via email

@jamasten
Copy link
Contributor

Not only that but also documentation states that you are expected to upload ZIP file of ARM tempalte but URL link is actually forcing to input PS1 file.

@artisticcheese This example was created for the old version of the Custom Configuration feature which required an ARM template of the virtual machine extension. You are correct. It is no longer needed.

@artisticcheese
Copy link

Not only that but also documentation states that you are expected to upload ZIP file of ARM tempalte but URL link is actually forcing to input PS1 file.

@artisticcheese This example was created for the old version of the Custom Configuration feature which required an ARM template of the virtual machine extension. You are correct. It is no longer needed.

The link on description still points to that article which tells incorrect information
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants