none
Strange FIM MA Export Behaviour RRS feed

  • General discussion

  • OK here i go.

    I export users to the FIM Portal Some of them Get Exported and some generate an Error. On the very next step i Export again and from the remaning exports (which generated errors previously) some get exported and some again generate errors, and running subsequent FIM MA Exports eventually Exports all users without errors.

    OK here it is when it gets more strange, the error i am getting is about the EmployeeType and the error is that it violates the RegularExpression giving the ValueViolatesRegularExpression Exception

    BUT.... I have removed the Validation from the Attribute EmployeeType as Well as in the Binding of it to the User. Where is FIM MA getting this Regular Expression then?

    Any infromation why FIM still is generating these errors? Am i Missing something.

    Fault Reason: The request message contains errors that prevent processing the request.\r\n\r\nFault Details: <RepresentationFailures xmlns="http://schemas.microsoft.com/2006/11/ResourceManagement" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="<AttributeRepresentationFailure><AttributeType>EmployeeType</AttributeType><AttributeValue>">http://www.w3.org/2001/XMLSchema"><AttributeRepresentationFailure><AttributeType>EmployeeType</AttributeType><AttributeValue> Company Employee</AttributeValue><FailureMessage>Exception: ValueViolatesRegularExpression Target(s): Some User
    Stack Trace: Microsoft.ResourceManagement.WebServices.Exceptions.InvalidRepresentationException: ValueViolatesRegularExpression
       at Microsoft.ResourceManagement.ActionProcessor.ActionDispatcher.ValidateObjectAttributes[T](RequestType request, Guid objectIdentifier, String objectTypeName, IEnumerable`1 parameters, OperationType operationType)
       at Microsoft.ResourceManagement.ActionProcessor.ActionDispatcher.ValidateInputRequestCreate(RequestType request)
       at Microsoft.ResourceManagement.ActionProcessor.ActionDispatcher.ProcessInputRequest(RequestType request)
       at Microsoft.ResourceManagement.WebServices.RequestDispatcher.ExecuteAction(RequestType request)
       at Microsoft.ResourceManagement.WebServices.RequestDispatcher.ExecuteAction[ResponseBodyType](RequestType request)
       at Microsoft.ResourceManagement.WebServices.RequestDispatcher.DispatchRequest[ResponseBodyType](RequestType request, Guid requestIdentifier, Object redispatchSingleInstanceKey, Boolean isRedispatch)
       at Microsoft.ResourceManagement.WebServices.RequestDispatcher.DispatchRequest[ResponseBodyType](RequestType request)
       at Microsoft.ResourceManagement.WebServices.ResourceManagementService.Create(Message request)</FailureMessage><AttributeFailureCode>ValueViolatesRegularExpression</AttributeFailureCode><AdditionalTextDetails>The specified attribute value does not satisfy the regular expression.</AdditionalTextDetails></AttributeRepresentationFailure><CorrelationId>3b34bf97-1124-4f71-aeb9-b3c32612d45a</CorrelationId></RepresentationFailures>

    Tuesday, January 8, 2013 12:51 PM

All replies

  • when exporting to any connected datasource, you must comply with any rule in place from that data source. The FIM MA in this case tries to write info, which in this case may not be validated as valid/correct because of some regular expressions in some attribute/binding.
     
    Read the following blog post to get an idea what it could be. It mentions different scenarios:
     
    Cheers,


    (HOPEFULLY THIS INFORMATION HELPS YOU!)
    Jorge de Almeida Pinto | MVP Identity & Access - Directory Services

    -------------------------------------------------------------------------------------------------------
    * This posting is provided "AS IS" with no warranties and confers no rights!
    * Always evaluate/test yourself before using/implementing this!
    * DISCLAIMER:
    http://jorgequestforknowledge.wordpress.com/disclaimer/
    -------------------------------------------------------------------------------------------------------
    ################# Jorge's Quest For Knowledge ###############
    ###### BLOG URL:
    http://JorgeQuestForKnowledge.wordpress.com/ #####
    #### RSS Feed URL:
    http://jorgequestforknowledge.wordpress.com/feed/ ####
    -------------------------------------------------------------------------------------------------------
    <>

    "Furqan Asghar" wrote in message news:7fe97e15-c0c4-446a-b98e-71e2d426ec9a@communitybridge.codeplex.com...

    OK here i go.

    I export users to the FIM Portal Some of them Get Exported and some generate an Error. On the very next step i Export again and from the remaning exports (which generated errors previously) some get exported and some again generate errors, and running subsequent FIM MA Exports eventually Exports all users without errors.

    OK here it is when it gets more strange, the error i am getting is about the EmployeeType and the error is that it violates the RegularExpression giving the ValueViolatesRegularExpression Exception

    BUT.... I have removed the Validation from the Attribute EmployeeType as Well as in the Binding of it to the User. Where is FIM MA getting this Regular Expression then?

    Any infromation why FIM still is generating these errors? Am i Missing something.

    Fault Reason: The request message contains errors that prevent processing the request.\r\n\r\nFault Details: <RepresentationFailures xmlns="http://schemas.microsoft.com/2006/11/ResourceManagement" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="<AttributeRepresentationFailure><AttributeType>EmployeeType</AttributeType><AttributeValue>">http://www.w3.org/2001/XMLSchema"><AttributeRepresentationFailure><AttributeType>EmployeeType</AttributeType><AttributeValue> Company Employee</AttributeValue><FailureMessage>Exception: ValueViolatesRegularExpression Target(s): Some User
    Stack Trace: Microsoft.ResourceManagement.WebServices.Exceptions.InvalidRepresentationException: ValueViolatesRegularExpression
       at Microsoft.ResourceManagement.ActionProcessor.ActionDispatcher.ValidateObjectAttributes[T](RequestType request, Guid objectIdentifier, String objectTypeName, IEnumerable`1 parameters, OperationType operationType)
       at Microsoft.ResourceManagement.ActionProcessor.ActionDispatcher.ValidateInputRequestCreate(RequestType request)
       at Microsoft.ResourceManagement.ActionProcessor.ActionDispatcher.ProcessInputRequest(RequestType request)
       at Microsoft.ResourceManagement.WebServices.RequestDispatcher.ExecuteAction(RequestType request)
       at Microsoft.ResourceManagement.WebServices.RequestDispatcher.ExecuteAction[ResponseBodyType](RequestType request)
       at Microsoft.ResourceManagement.WebServices.RequestDispatcher.DispatchRequest[ResponseBodyType](RequestType request, Guid requestIdentifier, Object redispatchSingleInstanceKey, Boolean isRedispatch)
       at Microsoft.ResourceManagement.WebServices.RequestDispatcher.DispatchRequest[ResponseBodyType](RequestType request)
       at Microsoft.ResourceManagement.WebServices.ResourceManagementService.Create(Message request)</FailureMessage><AttributeFailureCode>ValueViolatesRegularExpression</AttributeFailureCode><AdditionalTextDetails>The specified attribute value does not satisfy the regular expression.</AdditionalTextDetails></AttributeRepresentationFailure><CorrelationId>3b34bf97-1124-4f71-aeb9-b3c32612d45a</CorrelationId></RepresentationFailures>


    Jorge de Almeida Pinto [MVP-DS] | Principal Consultant | BLOG: http://jorgequestforknowledge.wordpress.com/
    Tuesday, January 8, 2013 2:02 PM
  • when exporting to any connected datasource, you must comply with any rule in place from that data source. The FIM MA in this case tries to write info, which in this case may not be validated as valid/correct because of some regular expressions in some attribute/binding.
     
    Read the following blog post to get an idea what it could be. It mentions different scenarios:
     
    Cheers,


    (HOPEFULLY THIS INFORMATION HELPS YOU!)
    Jorge de Almeida Pinto | MVP Identity & Access - Directory Services

    -------------------------------------------------------------------------------------------------------
    * This posting is provided "AS IS" with no warranties and confers no rights!
    * Always evaluate/test yourself before using/implementing this!
    * DISCLAIMER:
    http://jorgequestforknowledge.wordpress.com/disclaimer/
    -------------------------------------------------------------------------------------------------------
    ################# Jorge's Quest For Knowledge ###############
    ###### BLOG URL:
    http://JorgeQuestForKnowledge.wordpress.com/ #####
    #### RSS Feed URL:
    http://jorgequestforknowledge.wordpress.com/feed/ ####
    -------------------------------------------------------------------------------------------------------
    <>

    "Furqan Asghar" wrote in message news:7fe97e15-c0c4-446a-b98e-71e2d426ec9a@communitybridge.codeplex.com...

    OK here i go.

    I export users to the FIM Portal Some of them Get Exported and some generate an Error. On the very next step i Export again and from the remaning exports (which generated errors previously) some get exported and some again generate errors, and running subsequent FIM MA Exports eventually Exports all users without errors.

    OK here it is when it gets more strange, the error i am getting is about the EmployeeType and the error is that it violates the RegularExpression giving the ValueViolatesRegularExpression Exception

    BUT.... I have removed the Validation from the Attribute EmployeeType as Well as in the Binding of it to the User. Where is FIM MA getting this Regular Expression then?

    Any infromation why FIM still is generating these errors? Am i Missing something.

    Fault Reason: The request message contains errors that prevent processing the request.\r\n\r\nFault Details: <RepresentationFailures xmlns="http://schemas.microsoft.com/2006/11/ResourceManagement" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="<AttributeRepresentationFailure><AttributeType>EmployeeType</AttributeType><AttributeValue>">http://www.w3.org/2001/XMLSchema"><AttributeRepresentationFailure><AttributeType>EmployeeType</AttributeType><AttributeValue> Company Employee</AttributeValue><FailureMessage>Exception: ValueViolatesRegularExpression Target(s): Some User
    Stack Trace: Microsoft.ResourceManagement.WebServices.Exceptions.InvalidRepresentationException: ValueViolatesRegularExpression
       at Microsoft.ResourceManagement.ActionProcessor.ActionDispatcher.ValidateObjectAttributes[T](RequestType request, Guid objectIdentifier, String objectTypeName, IEnumerable`1 parameters, OperationType operationType)
       at Microsoft.ResourceManagement.ActionProcessor.ActionDispatcher.ValidateInputRequestCreate(RequestType request)
       at Microsoft.ResourceManagement.ActionProcessor.ActionDispatcher.ProcessInputRequest(RequestType request)
       at Microsoft.ResourceManagement.WebServices.RequestDispatcher.ExecuteAction(RequestType request)
       at Microsoft.ResourceManagement.WebServices.RequestDispatcher.ExecuteAction[ResponseBodyType](RequestType request)
       at Microsoft.ResourceManagement.WebServices.RequestDispatcher.DispatchRequest[ResponseBodyType](RequestType request, Guid requestIdentifier, Object redispatchSingleInstanceKey, Boolean isRedispatch)
       at Microsoft.ResourceManagement.WebServices.RequestDispatcher.DispatchRequest[ResponseBodyType](RequestType request)
       at Microsoft.ResourceManagement.WebServices.ResourceManagementService.Create(Message request)</FailureMessage><AttributeFailureCode>ValueViolatesRegularExpression</AttributeFailureCode><AdditionalTextDetails>The specified attribute value does not satisfy the regular expression.</AdditionalTextDetails></AttributeRepresentationFailure><CorrelationId>3b34bf97-1124-4f71-aeb9-b3c32612d45a</CorrelationId></RepresentationFailures>


    Jorge de Almeida Pinto [MVP-DS] | Principal Consultant | BLOG: http://jorgequestforknowledge.wordpress.com/
    Tuesday, January 8, 2013 2:09 PM
  • HI jorge

    I have completely removed the regular expression

    FIM acknowledges it for some users having the SAME value for that attribute and rejects some users having the SAME value for that attribute.

    Tuesday, January 8, 2013 2:09 PM
  • Removing the regex is essentially a schema change - as you say, to the binding and to the attribute itself. 

    Have you tried restarting IIS/FIMService? IIRC, you don't NEED to, but I always find it's a good thing to do when getting unpredictable results.

    Also, consider performing the two schema refreshes on the FIM MA? I don't see why this would fix your issue, as the error is on the service itself, but I don't see why you're getting your issue in the first place.

    Is this repeatable?


    MCTS: Forefront Identity Manager 2010, Configuring

    Wednesday, January 9, 2013 10:21 PM
  • Hi Ross I tried everything but then i restored the old FIMService database backup.

    unfortunatly with restore it also removed the lastest configuration changes. So i will reconfigure it sometime later and check again.

    Thanks a lot for the input.

    Thursday, January 10, 2013 6:44 AM