Skip to content
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

ConvertTo-DSCObject throws Item has already been added for M365DSCRuleEvaluation #51

Open
ColinHJ opened this issue Aug 13, 2024 · 1 comment

Comments

@ColinHJ
Copy link

ColinHJ commented Aug 13, 2024

Exception calling "Add" with "2" argument(s): "Item has already been added. Key in dictionary: 'ResourceName' Key being added: 'ResourceName'"
At C:\Program Files\WindowsPowerShell\Modules\DSCParser\2.0.0.7\Modules\DSCParser.psm1:661 char:17

  •             $currentResourceInfo.Add($key, $value) | Out-Null                                                     
    
  •             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                   
    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException                                        
    + FullyQualifiedErrorId : ArgumentException
    
@FabienTschanz
Copy link
Contributor

@ColinHJ This issues was fixed in microsoft/Microsoft365DSC#5317 and is available in Microsoft365DSC 1.24.1106.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants