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
I've been having a problem with the recent releases of M365DSC where when I run the Start-DscConfiguration command it starts but doesn't process anything so I can see things like this:
Start-DscConfiguration -Path $PathToCompiledMOF -Wait -Verbose -Force
VERBOSE: Perform operation 'Invoke CimMethod' with following parameters, ''methodName' = SendConfigurationApply,'className' = MSFT_DSCLocalConfigura
tionManager,'namespaceName' = root/Microsoft/Windows/DesiredStateConfiguration'.
VERBOSE: An LCM method call arrived from computer ULTRASBOOK6 with user sid S-1-12-1-2786440620-1107658995-3191192979-3267944029.
VERBOSE: The -Force option was specified with the Stop operation. The current configuration has been successfully cancelled.
And then that is all that happens and the processing never continues. I am running my DSC commands from within PowerShell ISE. When I close ISE and restart, the same command will immediately hang again. BUT if I reboot, then try that same command, it immediately processes and also i see the LCM blue progressbar while it is working on the job.
Microsoft 365 DSC Version
1.24.1120.1
Which workloads are affected
Intune
The DSC configuration
Verbose logs showing the problem
Start-DscConfiguration-Path $PathToCompiledMOF-Wait -Verbose -Force
VERBOSE: Perform operation 'Invoke CimMethod' with following parameters,''methodName' = SendConfigurationApply,'className' = MSFT_DSCLocalConfigurationManager,'namespaceName' = root/Microsoft/Windows/DesiredStateConfiguration'.
VERBOSE: An LCM method call arrived from computer ULTRASBOOK6 with user sid S-1-12-1-2786440620-1107658995-3191192979-3267944029.
VERBOSE: The -Force option was specified with the Stop operation. The current configuration has been successfully cancelled.
Environment Information + PowerShell Version
OsName : Microsoft Windows 11 Enterprise
OsOperatingSystemSKU : EnterpriseEdition
OsArchitecture : 64-bit
WindowsVersion : 2009
WindowsBuildLabEx : 26100.1.amd64fre.ge_release.240331-1435
OsLanguage : en-US
OsMuiLanguages : {en-US}
Key : PSVersion
Value : 5.1.26100.2161
Name : PSVersion
Key : PSEdition
Value : Desktop
Name : PSEdition
Key : PSCompatibleVersions
Value : {1.0,2.0,3.0,4.0...}
Name : PSCompatibleVersions
Key : BuildVersion
Value : 10.0.26100.2161
Name : BuildVersion
Key : CLRVersion
Value : 4.0.30319.42000
Name : CLRVersion
Key : WSManStackVersion
Value : 3.0
Name : WSManStackVersion
Key : PSRemotingProtocolVersion
Value : 2.3
Name : PSRemotingProtocolVersion
Key : SerializationVersion
Value : 1.1.0.1
Name : SerializationVersion
The text was updated successfully, but these errors were encountered:
If you see the processing hanging in ISE, does it then work if you start another PowerShell terminal outside of the ISE? I've heard that PowerShell ISE does a couple of strange things when processing commands, so I'm not really using it. My Start-DscConfiguration commands are always run in an elevated PowerShell terminal, so far without any issues.
What happens if you do the same with Visual Studio Code? Does that also hang?
Description of the issue
I've been having a problem with the recent releases of M365DSC where when I run the Start-DscConfiguration command it starts but doesn't process anything so I can see things like this:
Start-DscConfiguration -Path $PathToCompiledMOF -Wait -Verbose -Force
VERBOSE: Perform operation 'Invoke CimMethod' with following parameters, ''methodName' = SendConfigurationApply,'className' = MSFT_DSCLocalConfigura
tionManager,'namespaceName' = root/Microsoft/Windows/DesiredStateConfiguration'.
VERBOSE: An LCM method call arrived from computer ULTRASBOOK6 with user sid S-1-12-1-2786440620-1107658995-3191192979-3267944029.
VERBOSE: The -Force option was specified with the Stop operation. The current configuration has been successfully cancelled.
And then that is all that happens and the processing never continues. I am running my DSC commands from within PowerShell ISE. When I close ISE and restart, the same command will immediately hang again. BUT if I reboot, then try that same command, it immediately processes and also i see the LCM blue progressbar while it is working on the job.
Microsoft 365 DSC Version
1.24.1120.1
Which workloads are affected
Intune
The DSC configuration
Verbose logs showing the problem
Environment Information + PowerShell Version
The text was updated successfully, but these errors were encountered: