How do I import users from AD into the FIM web portal/metaverse when the EmployeeType attribute contains parentheses? RRS feed

  • Question

  • I am attempting to import users from my AD Management Agent into the FIM Metaverse. Some of the users have an employeeType attribute that contains data with parentheses therein. For example: Counsel (Self-Employed)

    I am getting an error when I run the 'Export' run profile; failed-creation-via-web-services. Details of the error message are shown below.

    Fault Reason: The request message contains errors that prevent processing the request.\r\n\r\nFault Details: <RepresentationFailures xmlns="" xmlns:xsi="" xmlns:xsd="<AttributeRepresentationFailure><AttributeType>EmployeeType</AttributeType><AttributeValue>Counsel">"><AttributeRepresentationFailure><AttributeType>EmployeeType</AttributeType><AttributeValue>Counsel (Self-Employed)</AttributeValue><FailureMessage>Exception: ValueViolatesRegularExpression Target(s): Rundio, Louis
    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>d22ff147-b62d-431e-b421-37afc73daf73</CorrelationId></RepresentationFailures>

    What must I do to successfully import these users whose employeeType attribute contains parentheses?

    Tuesday, July 23, 2013 2:26 PM

All replies

  • If you cannot change the originating data, then I would simply do an import function which changes the parentheses to a character FIM (SQL) likes.

    The best solution would be to change the data before it ever gets to FIM.

    Tuesday, July 23, 2013 3:02 PM
  • By default EmployeeType has a regular expression on the user binding (possibly attribute too) restricting the allowed values. You need to change this regular expression to allow more values.
    Tuesday, July 23, 2013 3:43 PM
  • I neglected to state in my original post that the likelihood of being able to change the employeeType data entries is slim to none. 

    Additionally, I have modified the FIM schema for the EmployeeType attribute and its corresponding binding to include the attribute values that contain parentheses.  However, I still get the error message I originally posted.

    H. Miller

    Tuesday, July 23, 2013 4:01 PM