Microsoft365DSC icon indicating copy to clipboard operation
Microsoft365DSC copied to clipboard

MSFT_SPOTenantSettings: "Item has already been added. Key in dictionary: 'RequireAcceptingAccountMatchInvitedAccount'

Open HaloX69 opened this issue 5 years ago • 0 comments

Module Version: 1.21.421.2

'RequireAcceptingAccountMatchInvitedAccount' property has been deprecated and even if it isn't provided in the resource, the code throws the above exception. That is because the property is listed twice in the property array provided in the ValuesToCheck parameter to the Test-M365DSCParameterState function call in the module M365DSCUtil.psm1.

The issue also exists in the most current version 1.21.519.1

HaloX69 avatar May 19 '21 16:05 HaloX69