Open commandcom opened 2 months ago
There is more information about the Max envelope size available: https://learn.microsoft.com/en-us/windows/win32/winrm/installation-and-configuration-for-windows-remote-management?redirectedfrom=MSDN#maxenvelopesizekb
please review you4 settings and please share the file size of your .mof file
Thanks for clearing up my confusion on the max envelope size.
Additional analysis found an entry in the event log that corresponds to the pipeline error:
Log Name: M365DSC
Source: MSFT_EXOAcceptedDomain
Date: 5/6/2024 9:08:29 PM
Event ID: 1
Task Category: (1)
Level: Error
Keywords: Classic
User: N/A
Computer: xxxyyyzzz
Description:
Error retrieving data:
{ Exception of type 'System.OutOfMemoryException' was thrown. } \ at Log-Column, C:\Windows\TEMP\tmpEXO_l0f0q2dv.s2p\tmpEXO_l0f0q2dv.s2p.psm1: line 114 \ at Init-CmdletBegin<Process>, C:\Windows\TEMP\tmpEXO_l0f0q2dv.s2p\tmpEXO_l0f0q2dv.s2p.psm1: line 2048 \ at script:Get-AcceptedDomain<Begin>, C:\Windows\TEMP\tmpEXO_l0f0q2dv.s2p\tmpEXO_l0f0q2dv.s2p.psm1: line 2521 \ at Get-TargetResource, C:\Program Files\WindowsPowerShell\Modules\Microsoft365DSC\1.24.424.1\DscResources\MSFT_EXOAcceptedDomain\MSFT_EXOAcceptedDomain.psm1: line 96 \ at Test-TargetResource, C:\Program Files\WindowsPowerShell\Modules\Microsoft365DSC\1.24.424.1\DscResources\MSFT_EXOAcceptedDomain\MSFT_EXOAcceptedDomain.psm1: line 311
Were you able to get some more RAM for your VM?
We are still waiting. Two more signatures to go. Had no idea it would take this long to get approval.
Description of the issue
We have run into this MaxEnvelopeSize issue before
The value is currently set to 9999
Increased this value to 50000
Reboot
Same issue
Not sure where to proceed from here
Cannot find any useful information about MaxEnvelopeSize
Microsoft 365 DSC Version
1.24.424.1
Which workloads are affected
Exchange Online
The DSC configuration
No response
Verbose logs showing the problem
No response
Environment Information + PowerShell Version