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
When updating from 1.24.207.2 to 1.24.214.2 we are now experiencing an error with the EXOAddressBookPolicy resource:
PowerShell DSC resource MSFT_EXOAddressBookPolicy failed to execute Test-TargetResource functionality with error message: Function Set-DynamicDistributionGroup cannot be created because function capacity 4096 has been exceeded for this scope.
+ CategoryInfo : InvalidOperation: (root/Microsoft/...gurationManager:String) [], CimException
+ FullyQualifiedErrorId : ProviderOperationExecutionFailure
+ PSComputerName : localhost
We have tried increasing the function and variable count limits, but this has had no effect:
We investigated a similar issue within M365DSC a few week ago. See: #3504
This here does look different. Are there plenty of other EXO Resource prior to this error happening? Could you duplicate the failing resource of your current configuration and run this within a new configuration for testing purposes?
The MaxFunctionCount issue occurs in cases when too many functions are exposed. I guess there are some "housekeeping" issues within the EXO session.
Let me look into it, at some point we were forcing the $Global:MaximumFunctionCount variable within the New-M365DSCConnection function to get around this. This is unfortunately a limitation of PowerShell 5. PowerShell 7 has no such limits.
Description of the issue
When updating from
1.24.207.2
to1.24.214.2
we are now experiencing an error with theEXOAddressBookPolicy
resource:We have tried increasing the function and variable count limits, but this has had no effect:
Microsoft 365 DSC Version
V1.24.214.2
Which workloads are affected
Exchange Online
The DSC configuration
Verbose logs showing the problem
Environment Information + PowerShell Version
The text was updated successfully, but these errors were encountered: