Open
Description
Prerequisites
- Write a descriptive title.
- Make sure you are able to repro it on the latest version
- Search the existing issues.
Summary
Started noticing this on GE builds (e.g. Windows Server 2025).
If a DSCv3 release was downloaded as a zip file (e.g. DSC-3.0.0-preview.9-x86_64-pc-windows-msvc.zip
), then PS scripts in PSAdapter will be marked as downloaded from web and will not be executed by PowerShell by default, resulting in DSC errors like AuthorizationManager check failed
.
In such cases Unblock-File
needs to be run on PSAdapter files to make them runnable.
Example:
Get-ChildItem -Recurse -File -Path <dsc_folder>\psDscAdapter | Unblock-File
DSC docs need to be updated to include this guidance.
Steps to reproduce
NA
Expected behavior
NA
Actual behavior
NA
Error details
No response
Environment data
NA
Version
v1
Visuals
No response