Since the PowerShell DSC Extension will be retired on March 31. 2028 I'm looking for an alternative way to add Session Hosts to an AVD Pool.
Source: https://learn.microsoft.com/en-us/azure/virtual-machines/extensions/dsc-windows
DSC extension will be retired on March 31, 2028. Move to Azure Machine Configuration by that date. For more information, see the blog post announcement. The Azure Machine Configuration service combines certain features of DSC Extension, Azure Automation State Configuration, and commonly requested features from customer feedback. Azure Machine Configuration also includes hybrid machine support through Arc-enabled servers.
I'm currently using ARM-wvd-templates/DSC/Configuration.zip deployed by Terraform like:
resource "azurerm_virtual_machine_extension" "addsessionhost" {
name = "AddSessionHost"
publisher = "Microsoft.Powershell"
type = "DSC"
type_handler_version = "2.83"
virtual_machine_id = azurerm_windows_virtual_machine.this.id
settings = <<SETTINGS
{
"ModulesUrl": "https://github.com/Azure/RDS-Templates/raw/0a31fd6d9972b80114783689492d68455bfb08b7/ARM-wvd-templates/DSC/Configuration.zip",
"ConfigurationFunction" : "Configuration.ps1\\AddSessionHost",
"Properties": {
"hostPoolName": "${azurerm_virtual_desktop_host_pool.this.name}",
"registrationInfoToken": "${azurerm_virtual_desktop_host_pool_registration_info.registrationinfo.token}",
"aadJoin": true
}
}
SETTINGS
}
Has anyone already messed around with the new Azure Machine Configuration to deploy AddSessionHost? Is it basically a drop-in replacement which will directly support the existing Configuration.ps1\AddSessionHost ?
Cheers
Since the PowerShell DSC Extension will be retired on March 31. 2028 I'm looking for an alternative way to add Session Hosts to an AVD Pool.
Source: https://learn.microsoft.com/en-us/azure/virtual-machines/extensions/dsc-windows
I'm currently using
ARM-wvd-templates/DSC/Configuration.zipdeployed by Terraform like:Has anyone already messed around with the new Azure Machine Configuration to deploy
AddSessionHost? Is it basically a drop-in replacement which will directly support the existingConfiguration.ps1\AddSessionHost?Cheers