none
Filter on ObjectID using export-fimconfig ? RRS feed

  • Question

  • How can I do a export-fimconfig and get an object based on ObjectId? The below generates "cannot filter as requested" error, where using AccountName does work. I must be missing something simple.

    Thanks!

    PS C:\> export-fimconfig -uri $URI -onlyBaseResources -customconfig "/Person[ObjectId='d4bdf413-2396-40e0-81ca-5160b1133
    581']"

    export-fimconfig : Failure on making enumeration web service call.
    Filter = /Person[ObjectId='d4bdf413-2396-40e0-81ca-5160b1133581']
    Error= Microsoft.ResourceManagement.WebServices.Faults.ServiceFaultException: cannot filter as requested


    Kind regards,
    Freek Berson
    The Microsoft Platform
    Twitter
    Linked-in
    Wortell company website

    Thursday, January 2, 2014 1:46 PM

All replies

  • Yes it is something simple. ObjectID not ObjectId. Aren't a second set of eyes a wonderful thing

    export-fimconfig -onlyBaseResources -customconfig "/Person[ObjectID='d4bdf413-2396-40e0-81ca-5160b1133581']"


    David Lundell, Get your copy of FIM Best Practices Volume 1 http://blog.ilmbestpractices.com/2010/08/book-is-here-fim-best-practices-volume.html

    • Proposed as answer by UNIFYBobMVP Friday, January 3, 2014 1:06 PM
    Thursday, January 2, 2014 6:11 PM