Hello,
I've been experimenting with Søren Granfeldt PowerShell MA and so far I'm liking what I see. However, I'm wondering how the MA handles exceptions being thrown from the PowerShell script, especially on an import. From what I see, it ignores anything thrown from the script, and the MA returns with a complete-no-objects status, which is not ideal as you have no indication what the error actually is. I have implemented event log handling, so the exception will end up there, but I'd rather see a more appropriate error status come up in the Sync service.
I can see that the actual objects you return can accept an error message, etc., but if the error is on a global level (i.e. can't connect to the target system), what is the recommended approach?
Thanks,
Marc
Marc Mac Donell, VP Identity and Access Solutions, Avaleris Inc.
http://www.avaleris.com