MicrosoftDocs / azure-docs

Open source documentation of Microsoft Azure
https://docs.microsoft.com/azure
Creative Commons Attribution 4.0 International
10.2k stars 21.35k forks source link

New-GuestConfigurationPackage error #45112

Closed dfoxnb closed 4 years ago

dfoxnb commented 4 years ago

Getting the following error when running New-GuestConfigurationPackage, both locally and in Cloud Shell: 'PsDesiredStateConfiguration' module is not supported by GuestConfiguration. Please use 'PSDscResources' module instead of 'PsDesiredStateConfiguration' module in DSC configuration.


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

dfoxnb commented 4 years ago

Resolved. When using the BaselineManagement module defaults to convert from Group Policy, it outputs the script file and mof using the 'PsDesiredStateConfiguration' modules. Needed to replace that with PSDscResources in the mof.

KrishnaG-MSFT commented 4 years ago

@dfoxnb Glad to know that you have self resolved and hence closed the issue. Thanks for the update.