What problem are you observing?
The Powershell ConvertFrom-JsonToSource
cmdlet is expecting an input property named connectorImplementstionId
(with an “s” instead of an “a” in “Implementation”). This is a typo for the real property, connectorImplementationId
.
The cmdlet thus fails with the following error:
PS /Users/devin/code/idw/idw-sailpoint/idn-exporter> ConvertFrom-JsonToSource $source
Exception: /Users/devin/.local/share/powershell/Modules/PSSailpoint/1.1.1/v3/src/PSSailpoint/Model/Source.ps1:247
Line |
247 | … throw "Error! JSON key '$name' not found in the propertie …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Error! JSON key 'connectorImplementationId' not found in the properties: id name description owner cluster accountCorrelationConfig accountCorrelationRule
| managerCorrelationMapping managerCorrelationRule beforeProvisioningRule schemas passwordPolicies features type connector connectorClass connectorAttributes deleteThreshold
| authoritative managementWorkgroup healthy status since connectorId connectorName connectionType connectorImplementstionId
The $source object does have the correctly-spelled value.
PS /Users/devin/code/idw/idw-sailpoint/idn-exporter> $source | ConvertFrom-Json | Select-Object -Property connectorImplementationId
connectorImplementationId
-------------------------
jdbc-angularsc
What is the correct behavior?
A Source object is returned.
What product feature is this related to?
Latest Powershell SDK (downloaded yesterday)
What are the steps to reproduce the issue?
See above. The $source object was just extracted from IDN via Get-Sources.