none
FIM Powershell error RRS feed

  • General discussion

  • hello, 

    i try to update a custom object with Powershell in FIM and i have this error 

    

    Any idea ? 

    Regards

    Friday, February 13, 2015 10:22 AM

All replies

  • Hello,

    hard to say from the above error, I'm wondering about the File IO error.

    In generell custom objects are not different from the Default objects.

    User running Powershell must have Access to Portal/webservice and grant rights with MPRs to the custom objects.
    Keep also in mind that objecttypes System names are case-sensitive.

    Maybe some relevant parts of the script could help, if ist a Scripting error.

    -Peter


    Peter Stapf - ExpertCircle GmbH - My blog: JustIDM.wordpress.com

    Friday, February 13, 2015 11:26 AM
  • Thank you for your response 

    I can create custom object with the script but when i did an update any attribut of the object  it does not work. 

    I search the user after i try to update an attribut. 

    $UpdateObj = ModifyImportObject -ObjectType "Person" -TargetIdentifier $id
            $UpdateObj.Changes += CreateImportChange -AttributeName "Description" -AttributeValue "XXX" -Operation 1
    $UpdateObj | Import-FIMConfig -uri $Uri

    Regards

    Friday, February 13, 2015 1:45 PM