-
Notifications
You must be signed in to change notification settings - Fork 56
Troubleshoot issues #926
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
michaeltlombardi
merged 44 commits into
PowerShell:main
from
Gijsreyn:troubleshoot-issues
Jul 30, 2025
Merged
Troubleshoot issues #926
Changes from 9 commits
Commits
Show all changes
44 commits
Select commit
Hold shift + click to select a range
74d0627
Add troubleshooting document
Gijsreyn 41ebc79
Update numbers
Gijsreyn 7e273fd
Syntax fix
Gijsreyn fb86cae
Update format
Gijsreyn 38956ae
Add troubleshooting document
Gijsreyn 057c6f3
Update numbers
Gijsreyn 8dcc229
Syntax fix
Gijsreyn 7e47ba5
Update format
Gijsreyn 0088c08
Remove template
Gijsreyn 3bb3fcd
Add troubleshooting document
Gijsreyn e034237
Update numbers
Gijsreyn 8e6327f
Syntax fix
Gijsreyn 30d48ca
Update format
Gijsreyn 4750e39
Add troubleshooting document
Gijsreyn ed6f5f0
Update numbers
Gijsreyn a4e366d
Syntax fix
Gijsreyn 474c77f
Update format
Gijsreyn 1577966
Remove template
Gijsreyn eeee80f
Merge branch 'troubleshoot-issues' of https://github.com/Gijsreyn/ope…
Gijsreyn 6585613
Add common issue from 965
Gijsreyn e5334d1
Add troubleshooting document
Gijsreyn 49c1def
Update numbers
Gijsreyn 33b97f2
Syntax fix
Gijsreyn 1ac6945
Update format
Gijsreyn 678617c
Add troubleshooting document
Gijsreyn 23debe4
Update numbers
Gijsreyn c6cfa04
Syntax fix
Gijsreyn 067d177
Update format
Gijsreyn 91fdb3a
Remove template
Gijsreyn 383d176
Add troubleshooting document
Gijsreyn b81f3f0
Update numbers
Gijsreyn aa5130e
Syntax fix
Gijsreyn 42ed7b6
Update format
Gijsreyn a3d4b9a
Add troubleshooting document
Gijsreyn b53fdb1
Update numbers
Gijsreyn c04c62f
Syntax fix
Gijsreyn 0221423
Update format
Gijsreyn 0e43269
Remove template
Gijsreyn 6378a47
Add common issue from 965
Gijsreyn 1a5ac30
Merge branch 'troubleshoot-issues' of https://github.com/Gijsreyn/ope…
Gijsreyn efbb28f
Resolve remarks Mikey
Gijsreyn 5e910ca
Remove extra line
Gijsreyn a017081
Small typo
Gijsreyn a77a268
VSCode to VS Code
Gijsreyn File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,91 @@ | ||||||
| --- | ||||||
| title: 'Known issues: Microsoft Desired State Configuration' | ||||||
| description: "Troubleshooting and known issues for Microsoft Desired State Configuration (DSC)." | ||||||
| author: michaeltlombardi | ||||||
| ms.author: mlombardi | ||||||
| ms.service: dsc | ||||||
| ms.topic: troubleshooting-known-issue | ||||||
| ms.date: 07/14/2025 | ||||||
| --- | ||||||
|
|
||||||
| # Known issues: Microsoft Desired State Configuration | ||||||
|
|
||||||
| This article lists known issues and troubleshooting guidance for Microsoft Desired State Configuration (DSC). | ||||||
|
|
||||||
| The following table lists known issues with Microsoft DSC v3: | ||||||
|
|
||||||
| | Issue | Description | Status | Reported on | | ||||||
| | :-------------------------------------------------------------------------------------------------------------------: | :------------------------------------------------------------------------------ | :-------- | :--------------------------------------------------- | | ||||||
| | [Unable to parse content from `<manifestUrl>`](#unable-to-parse-content-from-manifesturl) | When authoring a resource manifest in VSCode, you may encounter parsing errors. | Confirmed | [#917](https://github.com/PowerShell/DSC/issues/917) | | ||||||
| | [Resource not found when using Windows PowerShell adapter](#resource-not-found-when-using-windows-powershell-adapter) | A resource cannot be found when running DSC configuration using WinPS adapter. | Confirmed | [#765](https://github.com/PowerShell/DSC/issues/765) | | ||||||
|
|
||||||
| For the most up-to-date information on known issues, visit the [DSC GitHub repository issues page](https://github.com/PowerShell/DSC/issues). | ||||||
|
|
||||||
| ## Unable to parse content from `<manifestUrl>` | ||||||
Gijsreyn marked this conversation as resolved.
Show resolved
Hide resolved
|
||||||
|
|
||||||
| When authoring a resource manifest in Visual Studio Code (VSCode), you may encounter a parsing error: | ||||||
Gijsreyn marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||||||
|
|
||||||
| > Unable to parse content from `<manifestUrl>` | ||||||
|
|
||||||
| This error occurs because canonical schema bundling is not fully supported in the 2020-12 JSON | ||||||
| schema specification. It applies to Microsoft DSC v3.0 and above. | ||||||
Gijsreyn marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||||||
|
|
||||||
| ### Prerequisites | ||||||
|
|
||||||
| - Visual Studio Code | ||||||
| - Microsoft DSC v3.0 or later | ||||||
|
|
||||||
| ### Troubleshooting steps | ||||||
|
|
||||||
| To resolve this issue, use `manifest.vscode.json` in the schema URI for your resource manifest. | ||||||
| This enables enhanced authoring support in VSCode. | ||||||
Gijsreyn marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||||||
|
|
||||||
| For more information, see [Enhanced authoring][00]. | ||||||
Gijsreyn marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||||||
|
|
||||||
| ### Possible causes | ||||||
|
|
||||||
| - The resource manifest references a schema that is not compatible with the VSCode JSON schema parser. | ||||||
Gijsreyn marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||||||
| - The canonical schema bundling feature is not yet supported in the 2020-12 JSON schema version | ||||||
| used by VSCode. | ||||||
Gijsreyn marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||||||
|
|
||||||
| ## Resource not found when using Windows PowerShell adapter | ||||||
Gijsreyn marked this conversation as resolved.
Show resolved
Hide resolved
|
||||||
|
|
||||||
| When running DSC configurations with the Windows PowerShell (WinPS) adapter, | ||||||
| you may encounter errors indicating that a required resource cannot be found. | ||||||
Gijsreyn marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||||||
|
|
||||||
| ### Prerequisites | ||||||
|
|
||||||
| - Windows PowerShell DSC (PSDSC) 1.1 (included with Windows) | ||||||
| - DSC configuration using the WinPS adapter | ||||||
Gijsreyn marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||||||
|
|
||||||
| ### Issue description | ||||||
|
|
||||||
| The WinPS adapter relies on PSDSC 1.1, which uses the Local Configuration Manager (LCM) running | ||||||
| as a Windows service. By design, the LCM service only accesses resources installed for "AllUsers" | ||||||
| under the Program Files directory. If a DSC resource is installed for the current user only, | ||||||
| the service cannot detect or use it, resulting in a "resource not found" error. | ||||||
|
|
||||||
| This limitation is specific to PSDSC 1.1. PSDSC v2 addresses this issue, but it is not | ||||||
| included with Windows and requires separate installation. | ||||||
Gijsreyn marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||||||
|
|
||||||
| ### Troubleshooting steps | ||||||
|
|
||||||
| - Ensure all DSC resources required by your configuration are installed for "AllUsers" scope. | ||||||
|
||||||
| - Ensure all DSC resources required by your configuration are installed for "AllUsers" scope. | |
| - Ensure all PSDSC modules required by your configuration are installed in the **AllUsers** scope. |
Gijsreyn marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
Gijsreyn marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
Gijsreyn marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
Gijsreyn marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
Gijsreyn marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
Gijsreyn marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
Gijsreyn marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
Gijsreyn marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
Gijsreyn marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
Gijsreyn marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.