I’m trying to get a simple DSC Pull server setup and I’ve been following the videos in the MVA course but I’m getting an odd error. My target server is able to contact the Pull server and successfully download the MOF. But the error I get is as follows:
PS C:\Windows\system32> Update-DscConfiguration -ComputerName asrtest-sql01 -Verbose -Debug -Wait
VERBOSE: Perform operation ‘Invoke CimMethod’ with following parameters, ‘‘methodName’ = PerformRequiredConfigurationChecks,‘className’ = MSFT_DSCLocalConfigura
tionManager,‘namespaceName’ = root/Microsoft/Windows/DesiredStateConfiguration’.
VERBOSE: An LCM method call arrived from computer DASHBOARD with user sid S-1-5-21-711919033-4084207079-4265421259-1221.
VERBOSE: [ASRTEST-SQL01]: Executing Get-Action with configuration 's checksum: .
VERBOSE: [ASRTEST-SQL01]: Executing Get-Action with configuration 's checksum returned result status: GetConfiguration.
VERBOSE: [ASRTEST-SQL01]: Checksum is different. LCM will execute GetConfiguration to pull configuration .
VERBOSE: [ASRTEST-SQL01]: Executing GetConfiguration failed. Configuration is not pulled.
The configuration file download by Download Manager WebDownloadManager is not valid.
+ CategoryInfo : InvalidResult: (root/Microsoft/…gurationManager:String) , CimException
+ FullyQualifiedErrorId : ConfigurationFileInvalid
+ PSComputerName : asrtest-sql01
VERBOSE: Operation ‘Invoke CimMethod’ complete.
VERBOSE: Time taken for configuration job to complete is 1.2 seconds
When I look at the messages running Trace-xDscOperation I get
Operation Consistency Check or Pull started by user sid S-1-5-21-711919033-4084207079-4265421259-1221 from computer DASHBOARD.
Attempting to get the action from pull server using Download Manager WebDownloadManager. Configuration Id is 3c3ca30c-18a4-4b23-8ae1-48083be66b94. Checksum is .
Compliance status is false.
WebDownloadManager for configuration 3c3ca30c-18a4-4b23-8ae1-48083be66b94 Do-DscAction command, GET Url: PSDSCPullServer.svc/Action(ConfigurationId=‘3c3ca30c-18
a4-4b23-8ae1-48083be66b94’)/GetAction.
WebDownloadManager for configuration 3c3ca30c-18a4-4b23-8ae1-48083be66b94 Do-DscAction command with server url: http://DASHBOARD:8080/PSDSCPullServer.svc.
Successfully got the action GetConfiguration from pull server using Download Manager WebDownloadManager.
WebDownloadManager for configuration 3c3ca30c-18a4-4b23-8ae1-48083be66b94 Do-DscAction command, GET call result: GetConfiguration.
The checksum validation for configuration 3c3ca30c-18a4-4b23-8ae1-48083be66b94 completed with status code 0.
WebDownloadManager for configuration 3c3ca30c-18a4-4b23-8ae1-48083be66b94 Get-DscDocument command, GET call result: Ok.
WebDownloadManager for configuration 3c3ca30c-18a4-4b23-8ae1-48083be66b94 Get-DscDocument command, File save result: C:\Windows\TEMP\635960070332974731\localhos
t.mof.checksum.
WebDownloadManager for configuration 3c3ca30c-18a4-4b23-8ae1-48083be66b94 Get-DscDocument command, File save result: C:\Windows\TEMP\635960070332974731\localhos
t.mof.
WebDownloadManager for configuration 3c3ca30c-18a4-4b23-8ae1-48083be66b94 Get-DscDocument command, GET Url: PSDSCPullServer.svc/Action(ConfigurationId=‘3c3ca30c
-18a4-4b23-8ae1-48083be66b94’)/ConfigurationContent.
Attempting to get the configuration 3c3ca30c-18a4-4b23-8ae1-48083be66b94 from pull server with Server Url http://DASHBOARD:8080/PSDSCPullServer.svc using Web Do
wnload Manager.
Attempting to get the configuration from pull server using Download Manager WebDownloadManager.Configuration Id is 3c3ca30c-18a4-4b23-8ae1-48083be66b94.
The checksum validation for configuration C:\Windows\TEMP\635960070332974731\localhost.mof completed with status code 0.
This event indicates that failure happens when LCM is trying to get the configuration from pull server using download manager NULL. ErrorId is 0x1. ErrorDetail
is The configuration file download by Download Manager WebDownloadManager is not valid.
MIResult: 1
Error Message: The configuration file download by Download Manager WebDownloadManager is not valid.
Message ID: ConfigurationFileInvalid
Error Category: 8
Error Code: 1
Error Type: MI
I’m pretty stuck so any help would be greatly appreciated. Jess