> ## Content Index
> Fetch the complete content index at: https://codeisahighway.com/llms.txt
> Use this file to discover other available public pages before exploring further.

# ArtifactNotFound: References to Microsoft.Powershell DSC extension prior to v2.4 are broken and how to fix it
- URL: https://codeisahighway.com/artifactnotfound-references-to-microsoft-powershell-dsc-extension-prior-to-v2-4-are-broken-and-how-to-fix-it/
- Published: 2015-10-29T14:13:00.000Z
- Updated: 2026-07-23T03:03:38.000Z
- Author: Stephane Lapointe
- Tags: PowerShell, DSC, Automation, Microsoft Azure, #Import 2023-07-11 16:44, #Import 2026-09-04 10:31, #Import 2026-09-04 13:56

If you are experiencing this error: *"Extension with publisher 'Microsoft.Powershell', type 'DSC', and type handler version 'x.x' could not be found in the extension repository"* it is because Microsoft just pulled the cord on PowerShell DSC extension v1.x up to v2.3 a couple of days ago.  
And the reason is:

> Today we retired versions 1.0 to 2.3 of the Azure DSC Extension. These versions use preview versions of WMF 5.0 whose signing certificates have expired, so it is no longer possible to install them.

**This article apply only to Microsoft.Powershell DSC extension** and NOT for Microsoft.OSTCExtensions DSCForLinux.

The recommended approach is to upgrade your scripts or templates to v2.4 or latest version (v2.8 is the latest version at the time of writing this).

## PowerShell

You can be explicit and use the `Version` parameter to specify the version to use instead of the default one coded in the PowerShell cmdlet version you are using.

```powershell
Set-AzureVMDscExtension -Version 2.8 …     

```

## ARM Templates

There is no "useLatestVersion" option for ARM templates, the nearest thing you can use is the `autoUpgradeMinorVersion` property, this will automatically upgrade your extension to the latest minor version available. ie: If you were using v2.1, using this setting will enable v2.\* but not v3.0

```json
"properties": {  
    "publisher": "Microsoft.Powershell",  
    "type": "DSC",  
    "typeHandlerVersion": "2.8",
    "autoUpgradeMinorVersion": "true", 
    …  
}

```

**Important**: If you choose to use autoUpgradeMinorVersion property, be aware that when they release a new version with a new WMF your VM will be rebooted once during the upgrade.

### Reference

- [Azure DSC Extension - Versions 1.0-2.3 no longer available](http://blogs.msdn.com/b/powershell/archive/2015/10/26/azure-dsc-extension-versions-1-0-2-3-no-longer-available.aspx?ref=codeisahighway.com)
- [Release history for the Azure DSC Extension](http://blogs.msdn.com/b/powershell/archive/2014/11/20/release-history-for-the-azure-dsc-extension.aspx?ref=codeisahighway.com)