Azure / Azure/RDS-Templates

PowerShell DSC Extension deprecation on March 2028 / Azure Virtual Desktop `AddSessionHosts`

Open
#836 3 comments 2 reactions 0 assignees View on GitHub
Dominant language
PowerShell
Stars
524
Forks
610
PR merge metrics
No merged PRs in 30d

Description

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](https://learn.microsoft.com/en-us/azure/governance/machine-configuration/overview) by that date. For more information, see the [blog post](https://azure.microsoft.com/updates/?id=485828) 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](https://learn.microsoft.com/en-us/azure/azure-arc/servers/overview).

I'm currently using `ARM-wvd-templates/DSC/Configuration.zip` deployed by Terraform like:

```hcl
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 = <

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with ARM-wvd-templates/DSC/Configuration.zip and the Configuration.ps1\AddSessionHost entry point, then read the linked Azure Machine Configuration documentation and inspect the Terraform azurerm_virtual_machine_extension resource. Done means establishing whether the existing configuration is supported and documenting or implementing a supported migration path for adding AVD session hosts.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, powershell, terraform
Domain
cloud, devops
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.