07-25-2023 11:27 AM
So we're still in evaluation with jumpcloud and I'm trying to craft a report that will pull together some information on the few test systems we've installed the agent upon, and I'm hitting a snag. For one (only) of seven systems, Get-JCAssociation fails, as below. Any suggestions?
PS C:\hold> Get-JCAssociation -Type system -Id <sytem ID>
ForEach-Object : Exception calling "Add" with "2" argument(s): "Item has already been added. Key in dictionary: 'name' Key being added: 'Name'"
At C:\Program Files\WindowsPowerShell\Modules\JumpCloud\2.6.0\Private\Association\Format-JCAssociation.ps1:18 char:25
+ $Associations | ForEach-Object {
+ ~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [ForEach-Object], MethodInvocationException
+ FullyQualifiedErrorId : ArgumentException,Microsoft.PowerShell.Commands.ForEachObjectCommand
07-28-2023 10:25 AM
Hello! Let me look into this and get back to you as soon I can 🙂
08-03-2023 09:33 AM
Hi @monadian sorry it took so long to get back to you. Are you able to reach out to support from your Admin Portal? They're the right people to help you debug this. If you're working with an account manager you could reach out to them as well and they'll connect you to the right people to help figure this out 🙂
New to the site? Take a look at these additional resources:
Ready to join us? You can register here.