-
Notifications
You must be signed in to change notification settings - Fork 57
Open
Labels
Milestone
Description
Prerequisites
- Write a descriptive title.
- Make sure you are able to repro it on the latest version
- Search the existing issues.
Summary
The current preview package has added items that the stable version does not support. Presumably this is related to #1368
> dsc resource list
2026-03-05T00:17:15.359264Z ERROR Manifest: Invalid manifest for resource 'C:\Program Files\WindowsApps\Microsoft.DesiredStateConfiguration-Preview_3.2.12.0_x64__8wekyb3d8bbwe\powershell.dsc.resource.json'
JSON: unknown field `deprecationMessage`, expected one of `$schema`, `type`, `kind`, `version`, `description`, `tags`, `get`, `set`, `whatIf`, `test`, `delete`, `export`, `resolve`, `validate`, `adapter`, `exitCodes`, `schema` at line 6 column 24
Type Kind Version Capabilities RequireAdapter Description
--------------------------------------------------------------
Steps to reproduce
- Install Stable Store Package (3.1.2)
- Install Preview Store Package (3.2.0-preview.12)
- Using the stable package
dsc resource list.
> dsc resource list
2026-03-05T00:17:15.359264Z ERROR Manifest: Invalid manifest for resource 'C:\Program Files\WindowsApps\Microsoft.DesiredStateConfiguration-Preview_3.2.12.0_x64__8wekyb3d8bbwe\powershell.dsc.resource.json'
JSON: unknown field `deprecationMessage`, expected one of `$schema`, `type`, `kind`, `version`, `description`, `tags`, `get`, `set`, `whatIf`, `test`, `delete`, `export`, `resolve`, `validate`, `adapter`, `exitCodes`, `schema` at line 6 column 24
Type Kind Version Capabilities RequireAdapter Description
--------------------------------------------------------------
Expected behavior
The schema version used in the preview package allows for the new field and the stable version uses the new schema version to validate it (or uses semver and a relaxed validation scheme).
The stable version carries on in the face of one failed resource manifest.Actual behavior
The stable version rejects the preview resource manifest and then fails to enumerate any resources.Error details
> dsc resource list
2026-03-05T00:17:15.359264Z ERROR Manifest: Invalid manifest for resource 'C:\Program Files\WindowsApps\Microsoft.DesiredStateConfiguration-Preview_3.2.12.0_x64__8wekyb3d8bbwe\powershell.dsc.resource.json'
JSON: unknown field `deprecationMessage`, expected one of `$schema`, `type`, `kind`, `version`, `description`, `tags`, `get`, `set`, `whatIf`, `test`, `delete`, `export`, `resolve`, `validate`, `adapter`, `exitCodes`, `schema` at line 6 column 24
Type Kind Version Capabilities RequireAdapter Description
--------------------------------------------------------------Environment data
> $PSVersionTable
Name Value
---- -----
PSVersion 7.5.4
PSEdition Core
GitCommitId 7.5.4
OS Microsoft Windows 10.0.28537
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0Version
3.1.2
Visuals
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Reviewed