You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
WindowsCapability: Specified Windows Capability not found #454
When trying to run winget configure test configuration.yaml (contents of the yaml file below) using the WindowsCapability resource, I get an error:
The configuration unit failed while attempting to test the current system state.
Specified Windows Capability 'OpenSSH.Server~~~~0.0.1.0' not found. (Parameter 'Name')
<See the log file for additional details>
Some of the configuration units failed while testing their state.
I've tried it with both OpenSSH.Server and OpenSSH.Client as specified in the wiki example but I had no luck, the log file is not created either
Yes, this one has some odd behavior. The issue appears to be related to permissions, but adding securityContext: elevated to the winget YAML results in the same error. I ended up doing this as a workaround:
Activity
gtbuchanan commentedon Dec 15, 2025
Yes, this one has some odd behavior. The issue appears to be related to permissions, but adding
securityContext: elevatedto the winget YAML results in the same error. I ended up doing this as a workaround: