-
Notifications
You must be signed in to change notification settings - Fork 531
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v1.24.417.1+ Causes error "The WMI service or the WMI provider returned an unknown error: HRESULT 0x80041033" on Exchange workload #4632
Comments
I'm facing the same issue here (Microsoft365DSC 1.24.515.2). When running
Also the application event:
Running on
|
@NikCharlebois @andikrueger I've also hit this issue while running my test harness locally, it went through applying almost all resources included in the EXO, Intune, O365, OD, SP and Teams workloads to my test tenant (this step didn't cause any issues) but then it's programmed to call Test-DSCConfiguration on all of those resources and eventually failed the test on |
I also have this issue, especially if trying to run the resource on a container. Ive tried increasing the RAM to 8gb but it seems to fail every time. The RAM usage for WMI on my PC increases dramatically (1Gb to over 3Gb), maybe its not releasing resources or handles between workloads or the additional item logging is pushing it too far? Microsoft365DSC = '1.23.1220.1' - No WMI issues and ADO Green ticks 100% of the time I have tried increasing some of the WMI parameters in WSMAN: but to no avail. This is a big issue given it affects DSC versions for months IMO. |
@ricmestre and @andikrueger I'm still having this issue on the compliance test. I just updated to '1.24.724.1'. One environment gets "The WS-Management service cannot process the request. The WMI service or the WMI provider returned an unknown error: HRESULT 0x80041033" and the other gets "Exception of type 'System.OutOfMemoryException' was thrown." Reverting to v 1.24.403.1 resolves both issues. Any insights on how to resolve? |
@tayhall did you ever resolve this? |
No the only solution was to just apply config by workloads and retry when
exchange had its issues.
…On Wed, 14 Aug 2024, 20:52 jadamones, ***@***.***> wrote:
@tayhall <https://github.com/tayhall> did you ever resolve this?
—
Reply to this email directly, view it on GitHub
<#4632 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AMKOMXH6TGRKN75EMOQBUHTZRORN5AVCNFSM6AAAAABHFQ7XJKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOBZGU4TQMJTG4>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
I have the same issue, trying to import more than 400 activesyncdeviceaccessrules and it is failing after 42 imported rules. Errors: AppLog: |
The workaround to this is increasing the WMI Provider host quotas as mentioned in #4982 |
Description of the issue
Getting this error when testing Exchange workloads on all ADO agents using the testcompliance.ps1 script or running Test-DSCConfiguration on any machine after updating to version '1.24.424.1'.
Switching back to version 1.24.403.1 and swapping resources affected by breaking changes back seems to resolve the issue. I attempted to debug but it's cumbersome and it seems to fail randomly and not on a specific resource.
I'm getting these errors in the event log when it happens.
Application: wmiprvse.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.OutOfMemoryException
Microsoft 365 DSC Version
1.24.424.1
Which workloads are affected
Exchange Online
The DSC configuration
No response
Verbose logs showing the problem
Environment Information + PowerShell Version
The text was updated successfully, but these errors were encountered: