0
Fixed

Can't provision group to placeholder connector after changing from dn.multi to string.multi.

Matthew Woolnough 6 years ago • updated by anonymous 3 years ago 6

Error below is thrown when export group object to IdB.

20130114,22:36:07,Adapter request to save entity to adapter space failed.,Adapter,Warning,"Adapter request to save entity 58159829-60f9-4948-85c8-6be78e363005 to adapter space 7c0ca093-cbed-483d-b22e-8c4c20e28a41 failed with reason Unable to cast object of type 'Unify.Framework.MultiValue`1[Unify.Framework.DistinguishedNameValue]' to type 'System.Collections.Generic.IEnumerable`1[System.Object]'.. Duration: 00:00:00.0755100
Error details:
System.InvalidCastException: Unable to cast object of type 'Unify.Framework.MultiValue`1[Unify.Framework.DistinguishedNameValue]' to type 'System.Collections.Generic.IEnumerable`1[System.Object]'.
   at Unify.Framework.EntityMultiValueObjectTypeSchemaValidator`3.CreateValue(Object dataValue)
   at Unify.Framework.EntitySchemaFieldDefinition.CreateValue(Object dataValue)
   at Unify.Framework.EntitySchemaValueTransformer.Transform(IEntity baseValue)
   at Unify.Framework.Adapter.<>c__DisplayClass19.<SaveEntities>b__b(<>f__AnonymousType2`2 <>h__TransparentIdentifier6)
   at System.Linq.Enumerable.<>c__DisplayClass12`3.<CombineSelectors>b__11(TSource x)
   at System.Linq.Enumerable.WhereSelectArrayIterator`2.MoveNext()
   at System.Linq.Buffer`1..ctor(IEnumerable`1 source)
   at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
   at Unify.Framework.Adapter.SaveEntities(IEnumerable`1 entities, Boolean reflect)
   at Unify.Framework.Adapter.SaveEntity(IAdapterEntity entity, Boolean reflect)
   at Unify.Framework.CompositeAdapter.SaveEntity(IAdapterEntity entity)
   at Unify.Framework.AdapterNotifierDecorator.SaveEntity(IAdapterEntity entityToSave)
   at Unify.Framework.LDIFAdapter.ExportAdapterEntity(IAdapterEntity adapterEntity, Guid adapterId)
   at Unify.Framework.LDIFAdapterServiceHostDecorator.ExportAdapterEntity(IAdapterEntity adapterEntity, Guid adapterId)
   at SyncInvokeExportAdapterEntity(Object , Object[] , Object[] )
   at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs)
   at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc)
   at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc)
   at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage4(MessageRpc& rpc)
   at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)",Normal
Affected Versions:
Fixed by Version:

Changed issue type and assignee in accordance with PRDGRP:Internal Support and Requests

Hi Matt,

On diagnosis it appears that support for 'any type' from FIM to IDB on exports is specific to Identity Broker v4.0.

I've updated the transformation to support both dn.multi and string.multi and we can patch your instance with it.

Firstly what version of Identity Broker are you currently running under?

Thanks.

Unify.Service.Connect.exe is Version 3.0.7.5

The patch with the updated transformation can be found here.

That will need to be copied into the Services directory for your Identity Broker installation.

Your configuration will need to be updated such that the IdBDN field (which is the InputKey field on your transformation) will need to be a "dn" validator, and the "member" field will need to be made a "dn.multi" validator again.

Both connectors will need to be baselined by clearing and re-importing.

Thanks.

Provisioning now possible, this job can now be closed.

Closed following confirmation of completion.