DSC icon indicating copy to clipboard operation
DSC copied to clipboard

Resource not found: Microsoft.DSC.Debug/Echo 2025-08-27

Open Gijsreyn opened this issue 3 months ago • 3 comments

Prerequisites

  • [x] Write a descriptive title.
  • [x] Make sure you are able to repro it on the latest version
  • [x] Search the existing issues.

Summary

After the release of 3.2.0-preview.5, it looks like PR #1077 broke the hello_world.dsc.bicep example.

From version 3.2.0-preview.4, the example still works.

Steps to reproduce

  1. Try running dsc config get --file hello_world.dsc.bicep

Expected behavior

It runs successfully.

Actual behavior

ERROR Resource not found: Microsoft.DSC.Debug/Echo 2025-08-27

Error details


Environment data

Name                           Value
----                           -----
PSVersion                      7.5.3
PSEdition                      Core
GitCommitId                    7.5.3
OS                             Microsoft Windows 10.0.26100
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Version

dsc 3.2.0-preview.5

Visuals

No response

Gijsreyn avatar Sep 18 '25 05:09 Gijsreyn

This is because there isn't actually a version 2025-08-27 for the Echo resource. So in this case, the example is no longer correct (previously the version specified was simply ignored). A workaround if you want to play with this is to copy the Echo resource manifest and add the date as the version, then it'll be found. But we don't want to ship that. Eventually @andyleejordan will be able to get back to Bicep and have it support semver then we need to update this example to use that.

SteveL-MSFT avatar Oct 01 '25 22:10 SteveL-MSFT

Does this mean that the Bicep extension in itself is broken as per preview.5?

Gijsreyn avatar Oct 02 '25 05:10 Gijsreyn

The extension itself isn't broken, but the scenario is due to changes needed in bicep.

SteveL-MSFT avatar Oct 02 '25 20:10 SteveL-MSFT