Issue when I want to perform Configuration Migration Deployment Steps of FIM
Hi, I carefully followed what was written on this link http://technet.microsoft.com/en-us/library/ff400277(WS.10).aspx. At the step 7, whereas all worked fine until the commitchange (no errors, no warnings) and all, I have the following error : PS C:\Windows\system32> .\ResumeUndoneImports.ps1 Resuming import Import-FIMConfig : Failure when making web service call. SourceObjectID = urn:uuid:810866ee-95c3-4baa-b17d-4cf7df5a74cb Error = System.InvalidOperationException: Operation is not valid due to the current state of the object. at Microsoft.ResourceManagement.WebServices.ResourceManager.get_Item(String attributeName) at Microsoft.ResourceManagement.Automation.ImportConfig.Create(String objectType, List`1 changeList) at Microsoft.ResourceManagement.Automation.ImportConfig.EndProcessing() At C:\Windows\system32\ResumeUndoneImports.ps1:16 char:54 + $newUndoneImports = $undoneImports | Import-FIMConfig <<<< + CategoryInfo : InvalidOperation: (:) [Import-FIMConfig], InvalidOperationException + FullyQualifiedErrorId : ImportConfig,Microsoft.ResourceManagement.Automation.ImportConfig Import-FIMConfig : Object with source id urn:uuid:3afc203c-34a9-4634-8140-deecd5955602 cannot find its dependent object with source id urn:uuid:810866ee-95c3-4baa-b17d-4cf7df5a74cb. At C:\Windows\system32\ResumeUndoneImports.ps1:16 char:54 + $newUndoneImports = $undoneImports | Import-FIMConfig <<<< + CategoryInfo : ObjectNotFound: (:) [Import-FIMConfig], InvalidOperationException + FullyQualifiedErrorId : ImportConfig,Microsoft.ResourceManagement.Automation.ImportConfig Import-FIMConfig : Object with source id urn:uuid:3ca1de0a-44b7-4af8-9a11-33436cff84ba cannot find its dependent object with source id urn:uuid:810866ee-95c3-4baa-b17d-4cf7df5a74cb. At C:\Windows\system32\ResumeUndoneImports.ps1:16 char:54 + $newUndoneImports = $undoneImports | Import-FIMConfig <<<< + CategoryInfo : ObjectNotFound: (:) [Import-FIMConfig], InvalidOperationException + FullyQualifiedErrorId : ImportConfig,Microsoft.ResourceManagement.Automation.ImportConfig Import-FIMConfig : Object with source id urn:uuid:3906d3b8-30ce-4567-84cb-67cc7dad1598 cannot find its dependent object with source id urn:uuid:810866ee-95c3-4baa-b17d-4cf7df5a74cb. At C:\Windows\system32\ResumeUndoneImports.ps1:16 char:54 + $newUndoneImports = $undoneImports | Import-FIMConfig <<<< + CategoryInfo : ObjectNotFound: (:) [Import-FIMConfig], InvalidOperationException + FullyQualifiedErrorId : ImportConfig,Microsoft.ResourceManagement.Automation.ImportConfig Import-FIMConfig : Object with source id urn:uuid:3f294ba2-d210-4e38-9aa8-763eb3636e40 cannot find its dependent object with source id urn:uuid:810866ee-95c3-4baa-b17d-4cf7df5a74cb. At C:\Windows\system32\ResumeUndoneImports.ps1:16 char:54 + $newUndoneImports = $undoneImports | Import-FIMConfig <<<< + CategoryInfo : ObjectNotFound: (:) [Import-FIMConfig], InvalidOperationException + FullyQualifiedErrorId : ImportConfig,Microsoft.ResourceManagement.Automation.ImportConfig There were 5 uncompleted imports. Please see the documentation on how to resolve the issues. What I don't understand, it is that the all others 184 objects were created successfully and only one is not created. Perhaps that my two errors are linked. Could you help me. Thanks in advance. Jean-Michel
July 1st, 2011 5:52pm

Yup, There is just one object that causes troubles, all of those other are dependent on it. You should find out what that object "urn:uuid:810866ee-95c3-4baa-b17d-4cf7df5a74cb" is and then modify the object in FIM Portal.
Free Windows Admin Tool Kit Click here and download it now
July 1st, 2011 9:05pm

Hi, Firstly thanks, but I don't see what type of modification should I do about this resource ? Indeed I want to do all with a script in order to facilitate the migration. Thanks again. Jean-Michel
July 4th, 2011 10:31am

What is that resource and what your export is trying to do? You should check those in the changes.xml file.
Free Windows Admin Tool Kit Click here and download it now
July 4th, 2011 1:13pm

This resource has its System Name as AerService and its Display Name as Service. I create it to attribute to my users their service. Therefore apart all my other objects, my export tries to export both this ressource and its attributes such as HeadOf (Chief of Service) and 3 other attributes.
July 7th, 2011 12:04pm

Could you perhaps show us the XML part (from the changes.xml or the undone.xml) for this entry: SourceObjectID = urn:uuid:810866ee-95c3-4baa-b17d-4cf7df5a74cb Error = System.InvalidOperationException: Operation is not valid due to the current state of the object. Is your schema already in sync?http://setspn.blogspot.com
Free Windows Admin Tool Kit Click here and download it now
July 7th, 2011 1:00pm

My production environment is empty I have just installed what I need to run a FIM environment. On my production environment, I executed, like it is written in http://technet.microsoft.com/en-us/library/ff400277(WS.10).aspx, ExportSchema and ExportPolicy (=> 2 files) then I imported the FIM Service schema to configuration into the production environment thus I exectuted ExportSchema, SyncShema and CommitChanges on my production environment. It is here there is the problem (=> undone.xml). After I imported the FIM Synchronization Service Configuration into the Production Environment (no Problem, no warning, no error), and to finish I imported the FIM Service Policy and Synchronization Configuration into the Production Environment and, as expected, there are some errors. (I don't know if I answered to your question "Is your schema already in sync ?") Here is my undone.xml file generated, as you can see, all is about this uuid :810866ee-95c3-4baa-b17d-4cf7df5a74cb : <?xml version="1.0" encoding="utf-8"?> <Results xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <ImportObject> <SourceObjectIdentifier>urn:uuid:810866ee-95c3-4baa-b17d-4cf7df5a74cb</SourceObjectIdentifier> <ObjectType>ObjectTypeDescription</ObjectType> <State>Create</State> <Changes> <ImportChange> <Operation>None</Operation> <AttributeName>DisplayName</AttributeName> <AttributeValue>Service</AttributeValue> <FullyResolved>true</FullyResolved> <Locale>Invariant</Locale> </ImportChange> <ImportChange> <Operation>None</Operation> <AttributeName>Name</AttributeName> <AttributeValue>AerService</AttributeValue> <FullyResolved>true</FullyResolved> <Locale>Invariant</Locale> </ImportChange> <ImportChange> <Operation>None</Operation> <AttributeName>ObjectType</AttributeName> <AttributeValue>ObjectTypeDescription</AttributeValue> <FullyResolved>true</FullyResolved> <Locale>Invariant</Locale> </ImportChange> <ImportChange> <Operation>None</Operation> <AttributeName>UsageKeyword</AttributeName> <AttributeValue>Global</AttributeValue> <FullyResolved>true</FullyResolved> <Locale>Invariant</Locale> </ImportChange> <ImportChange> <Operation>None</Operation> <AttributeName>UsageKeyword</AttributeName> <AttributeValue>AerService</AttributeValue> <FullyResolved>true</FullyResolved> <Locale>Invariant</Locale> </ImportChange> </Changes> <AnchorPairs> <JoinPair> <AttributeName>Name</AttributeName> <AttributeValue>AerService</AttributeValue> </JoinPair> </AnchorPairs> </ImportObject> <ImportObject> <SourceObjectIdentifier>urn:uuid:3afc203c-34a9-4634-8140-deecd5955602</SourceObjectIdentifier> <ObjectType>BindingDescription</ObjectType> <State>Create</State> <Changes> <ImportChange> <Operation>None</Operation> <AttributeName>BoundAttributeType</AttributeName> <AttributeValue>urn:uuid:054a4e30-7ad2-4594-8f5e-0f0326cb475c</AttributeValue> <FullyResolved>true</FullyResolved> <Locale>Invariant</Locale> </ImportChange> <ImportChange> <Operation>None</Operation> <AttributeName>BoundObjectType</AttributeName> <AttributeValue>urn:uuid:810866ee-95c3-4baa-b17d-4cf7df5a74cb</AttributeValue> <FullyResolved>false</FullyResolved> <Locale>Invariant</Locale> </ImportChange> <ImportChange> <Operation>None</Operation> <AttributeName>DisplayName</AttributeName> <AttributeValue>Head Of</AttributeValue> <FullyResolved>true</FullyResolved> <Locale>Invariant</Locale> </ImportChange> <ImportChange> <Operation>None</Operation> <AttributeName>ObjectType</AttributeName> <AttributeValue>BindingDescription</AttributeValue> <FullyResolved>true</FullyResolved> <Locale>Invariant</Locale> </ImportChange> <ImportChange> <Operation>None</Operation> <AttributeName>Required</AttributeName> <AttributeValue>False</AttributeValue> <FullyResolved>true</FullyResolved> <Locale>Invariant</Locale> </ImportChange> </Changes> <AnchorPairs> <JoinPair> <AttributeName>BoundAttributeType</AttributeName> <AttributeValue>urn:uuid:b3056f83-18de-48fd-9669-f1e2dc8fa4c2</AttributeValue> </JoinPair> <JoinPair> <AttributeName>BoundObjectType</AttributeName> <AttributeValue>urn:uuid:810866ee-95c3-4baa-b17d-4cf7df5a74cb</AttributeValue> </JoinPair> </AnchorPairs> </ImportObject> <ImportObject> <SourceObjectIdentifier>urn:uuid:3ca1de0a-44b7-4af8-9a11-33436cff84ba</SourceObjectIdentifier> <ObjectType>BindingDescription</ObjectType> <State>Create</State> <Changes> <ImportChange> <Operation>None</Operation> <AttributeName>BoundAttributeType</AttributeName> <AttributeValue>urn:uuid:054b629c-d09e-4bd8-bf2d-908ad1216dde</AttributeValue> <FullyResolved>true</FullyResolved> <Locale>Invariant</Locale> </ImportChange> <ImportChange> <Operation>None</Operation> <AttributeName>BoundObjectType</AttributeName> <AttributeValue>urn:uuid:810866ee-95c3-4baa-b17d-4cf7df5a74cb</AttributeValue> <FullyResolved>false</FullyResolved> <Locale>Invariant</Locale> </ImportChange> <ImportChange> <Operation>None</Operation> <AttributeName>DisplayName</AttributeName> <AttributeValue>Siglum</AttributeValue> <FullyResolved>true</FullyResolved> <Locale>Invariant</Locale> </ImportChange> <ImportChange> <Operation>None</Operation> <AttributeName>ObjectType</AttributeName> <AttributeValue>BindingDescription</AttributeValue> <FullyResolved>true</FullyResolved> <Locale>Invariant</Locale> </ImportChange> <ImportChange> <Operation>None</Operation> <AttributeName>Required</AttributeName> <AttributeValue>True</AttributeValue> <FullyResolved>true</FullyResolved> <Locale>Invariant</Locale> </ImportChange> </Changes> <AnchorPairs> <JoinPair> <AttributeName>BoundAttributeType</AttributeName> <AttributeValue>urn:uuid:0165f236-36e5-49b0-937c-4793e6e44432</AttributeValue> </JoinPair> <JoinPair> <AttributeName>BoundObjectType</AttributeName> <AttributeValue>urn:uuid:810866ee-95c3-4baa-b17d-4cf7df5a74cb</AttributeValue> </JoinPair> </AnchorPairs> </ImportObject> <ImportObject> <SourceObjectIdentifier>urn:uuid:3906d3b8-30ce-4567-84cb-67cc7dad1598</SourceObjectIdentifier> <ObjectType>BindingDescription</ObjectType> <State>Create</State> <Changes> <ImportChange> <Operation>None</Operation> <AttributeName>BoundAttributeType</AttributeName> <AttributeValue>urn:uuid:9cfc755d-abcf-40d6-84be-a24ed74fa2dc</AttributeValue> <FullyResolved>true</FullyResolved> <Locale>Invariant</Locale> </ImportChange> <ImportChange> <Operation>None</Operation> <AttributeName>BoundObjectType</AttributeName> <AttributeValue>urn:uuid:810866ee-95c3-4baa-b17d-4cf7df5a74cb</AttributeValue> <FullyResolved>false</FullyResolved> <Locale>Invariant</Locale> </ImportChange> <ImportChange> <Operation>None</Operation> <AttributeName>DisplayName</AttributeName> <AttributeValue>Collaborateurs</AttributeValue> <FullyResolved>true</FullyResolved> <Locale>Invariant</Locale> </ImportChange> <ImportChange> <Operation>None</Operation> <AttributeName>ObjectType</AttributeName> <AttributeValue>BindingDescription</AttributeValue> <FullyResolved>true</FullyResolved> <Locale>Invariant</Locale> </ImportChange> <ImportChange> <Operation>None</Operation> <AttributeName>Required</AttributeName> <AttributeValue>False</AttributeValue> <FullyResolved>true</FullyResolved> <Locale>Invariant</Locale> </ImportChange> </Changes> <AnchorPairs> <JoinPair> <AttributeName>BoundAttributeType</AttributeName> <AttributeValue>urn:uuid:a2f59f9f-998c-420a-b221-c31504c7b303</AttributeValue> </JoinPair> <JoinPair> <AttributeName>BoundObjectType</AttributeName> <AttributeValue>urn:uuid:810866ee-95c3-4baa-b17d-4cf7df5a74cb</AttributeValue> </JoinPair> </AnchorPairs> </ImportObject> <ImportObject> <SourceObjectIdentifier>urn:uuid:3f294ba2-d210-4e38-9aa8-763eb3636e40</SourceObjectIdentifier> <ObjectType>BindingDescription</ObjectType> <State>Create</State> <Changes> <ImportChange> <Operation>None</Operation> <AttributeName>BoundAttributeType</AttributeName> <AttributeValue>urn:uuid:e805ec88-48cd-4df9-aa6b-6ce65bfff211</AttributeValue> <FullyResolved>true</FullyResolved> <Locale>Invariant</Locale> </ImportChange> <ImportChange> <Operation>None</Operation> <AttributeName>BoundObjectType</AttributeName> <AttributeValue>urn:uuid:810866ee-95c3-4baa-b17d-4cf7df5a74cb</AttributeValue> <FullyResolved>false</FullyResolved> <Locale>Invariant</Locale> </ImportChange> <ImportChange> <Operation>None</Operation> <AttributeName>DisplayName</AttributeName> <AttributeValue>Correspondant Informatique</AttributeValue> <FullyResolved>true</FullyResolved> <Locale>Invariant</Locale> </ImportChange> <ImportChange> <Operation>None</Operation> <AttributeName>ObjectType</AttributeName> <AttributeValue>BindingDescription</AttributeValue> <FullyResolved>true</FullyResolved> <Locale>Invariant</Locale> </ImportChange> <ImportChange> <Operation>None</Operation> <AttributeName>Required</AttributeName> <AttributeValue>False</AttributeValue> <FullyResolved>true</FullyResolved> <Locale>Invariant</Locale> </ImportChange> </Changes> <AnchorPairs> <JoinPair> <AttributeName>BoundAttributeType</AttributeName> <AttributeValue>urn:uuid:ef145a5f-7bd9-49da-8856-2a6fe7b12ece</AttributeValue> </JoinPair> <JoinPair> <AttributeName>BoundObjectType</AttributeName> <AttributeValue>urn:uuid:810866ee-95c3-4baa-b17d-4cf7df5a74cb</AttributeValue> </JoinPair> </AnchorPairs> </ImportObject> </Results> Thanks again.
July 7th, 2011 3:08pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics