Error when using the -customConfig option of the EXPORT-FIMConfig CMDlet
Hi,
In the Export Script I have the following line:$Source = Export-FIMConfig -uri http://localhost:5725/ResourceManagementService -policyConfig -schemaConfig -portalConfig -customConfig ("Group","Person")
When I execute the script I get the following error:-------------Export-FIMConfig : Failure on making enumeration web service call.Filter = GroupError= Microsoft.ResourceManagement.WebServices.Faults.ServiceFaultException: cannot filter as requested at Microsoft.ResourceManagement.WebServices.Client.ResourceTemplate.EnumerateResources(SearchParameters parameters) at Microsoft.ResourceManagement.WebServices.ResourceManager.MoveNext() at Microsoft.ResourceManagement.Automation.ExportConfig.EndProcessing()At C:\_FIM-CONFIG\ExportFIMConfigFromSource.ps1:10 char:27+ $Source = Export-FIMConfig <<<< -uri http://localhost:5725/ResourceManagementService -policyConfig -schemaConfig -portalConfig -customConfig ("Group","Person") + CategoryInfo : InvalidOperation: (:) [Export-FIMConfig], Invali dOperationException + FullyQualifiedErrorId : ExportConfig,Microsoft.ResourceManagement.Automa tion.ExportConfig-------------
It appears there is something wrong with the defined filter in the -customConfig parameter
I'm using it as specified in Example 2 of the Export-FIMConfig CMDlet.
Running FIM2010 RC1 Update2So, what's wrong?
Thanks!
Jorge de Almeida Pinto [MVP-DS / AD DS TechNet Forums Moderator] (http://blogs.dirteam.com/blogs/jorge/default.aspx) [Senior Technical Consultant - Oxford Computer Group] (http://www.oxfordcomputergroup.com/)
December 11th, 2009 7:23pm
Hi Jorge, it looks like the syntax of the filter has changed, but the configuration has not been updated, and now the filter expressions must start with a '/' (while this previously would have caused an error). This worked for me: Export-FIMConfig -customConfig ("/Group","/Person") Maybe you could submit a bug on connect. Cheers, PaoloPaolo Tedesco - http://cern.ch/idm
Free Windows Admin Tool Kit Click here and download it now
December 11th, 2009 7:53pm
HI Paolo,That worked for me too!Thankscheers,JorgeJorge de Almeida Pinto [MVP-DS / AD DS TechNet Forums Moderator] [Sr. Technical Consultant @ Oxford Computer Group] (http://blogs.dirteam.com/blogs/jorge/default.aspx) (http://www.oxfordcomputergroup.com/)
December 11th, 2009 8:04pm
Hi Jorge,it looks like the syntax of the filter has changed, but the configuration has not been updated, and now the filter expressions must start with a '/' (while this previously would have caused an error).This worked for me:Export-FIMConfig -customConfig ("/Group","/Person")Maybe you could submit a bug on connect.Cheers,Paolo
Paolo Tedesco - http://cern.ch/idm
Correct. Please seehttps://connect.microsoft.com/site433/feedback/ViewFeedback.aspx?FeedbackID=519840&wa=wsignin1.0You now can use customconfig to export any Xpath query of objects for use in migrating or simply to troubleshoot or report.
Free Windows Admin Tool Kit Click here and download it now
December 12th, 2009 1:31am
Hi,Thanks! I reported that on Connect. :)ZJORZ = me.CheersJorge de Almeida Pinto [MVP-DS / AD DS TechNet Forums Moderator] [Sr. Technical Consultant @ Oxford Computer Group] (http://blogs.dirteam.com/blogs/jorge/default.aspx) (http://www.oxfordcomputergroup.com/)
December 12th, 2009 2:39am