Microsoft365DSC icon indicating copy to clipboard operation
Microsoft365DSC copied to clipboard

test-DSCConfiguration reports config change when there is none

Open ararag opened this issue 5 years ago • 1 comments

Hi, When running test-DSCConfiguration against a recently made reference config it always returns a difference in EXOHostedContentFilterPolicy and EXOOutboundConnector even though there has been no changes. The event logs show these kind of config drifts: <ParametersNotInDesiredState> <Param Name="BlockedSenders"><CurrentValue>[email protected] [email protected]</CurrentValue><DesiredValue>[email protected] [email protected]</DesiredValue></Param> <Param Name="AllowedSenders"><CurrentValue>[email protected] [email protected] [email protected]</CurrentValue><DesiredValue>[email protected] [email protected] [email protected]</DesiredValue></Param> </ParametersNotInDesiredState> </ConfigurationDrift>

I can't see any difference between the current value and desired value. Please advice.

ararag avatar Apr 20 '21 05:04 ararag

@NikCharlebois I still see this issue in EXOHostedContentFilterPolicy for BlockedSender, AllowedSenderDomain, AllowedSenders and BlockedSenderDomains if they are set to $null or @() in the DSC config and are currently not configured in the tenant (reported back as $null when getting current values). From my understanding there should be no config drift reported then.

I've tested this with Release 1.21.707.1. Version 1.21.630.1 worked fine in this regard.

EricHindrichsen avatar Jul 08 '21 09:07 EricHindrichsen