This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

phase #2 provisioning for AD always raise the same error: 2 mandatory parameters are required

Hello,

I have a fresh new installation with an AD target configured. With the default provisioning workflow I always receive this error:

 

ErrorMessages = (2018-05-21 19:57:59.027) [2134003] Error executing synchronization.
[1777018] Error executing synchronization project (Active Directory Domain (DC=XXXXX,DC=XXXXX,DC=XX))'s workflow (Provisioning).
[1777124] Error executing projection step (container - Phase #2) of projection configuration (Provisioning (Provisioning)).
[1777219] Error executing synchronization step (container - Phase #2)!
[1777218] The synchronization step (container - Phase #2) cannot be executed because not all of the 2 mandatory parameters of method (Insert object) are mapped through the active rules.

Add rules for each parameter of the method used to the mapping rule (container).
   at StdioProcessor.StdioProcessor._Execute(Job job)
   at VI.Projector.JobComponent.ProjectorComponent.Activate(String task)
   at VI.Projector.JobComponent.ProjectorComponent._FullProjection()
   ---- Start of Inner Exception ----
   at VI.Projector.JobComponent.ProjectorComponent._FullProjection()
   at VI.Projector.Database.ProjectorExecutor.Project(ISession session, IProjectionConfiguration configuration, ProjectionOption options, ISystemObject adHocObject, CancellationToken cancellationToken)
   at VI.Projector.Projection.Extensions.Execute(IProjectorEngine engine, IProjectionConfiguration configuration, ProjectionOption options, ISystemObject adHocObject, CancellationToken cancellationToken)
   at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
   at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
   ---- Start of Inner Exception ----
   at VI.Projector.Projection.ProjectorEngine.<ExecuteAsync>d__3.MoveNext()
   ---- Start of Inner Exception ----
   at VI.Projector.Projection.ProjectorEngine.<ExecuteAsync>d__3.MoveNext()
   ---- Start of Inner Exception ----
   at VI.Projector.Projection.ProjectorEngine.<ExecuteAsync>d__3.MoveNext()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
--- End of stack trace from previous location where exception was thrown ---
   at VI.Projector.Projection.ProjectionStrategy.<ExecuteStepAsync>d__2.MoveNext()
   ---- Start of Inner Exception ----
   at VI.Projector.Projection.ProjectionStrategy.<ExecuteStepAsync>d__2.MoveNext()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
--- End of stack trace from previous location where exception was thrown ---
   at VI.Projector.Projection.ProjectionStrategyBase.<OnExecuteStepAsync>d__2.MoveNext()
   at VI.Projector.Projection.ProjectionStrategyBase._CheckMandatoryMethodProperties(IProjectionStep step, ProjectionDirection EffectiveProjectionDirection)

 

I'm using the default workflow for provisioning. The initial sync is ok and if I try to generate a new container or OU, It is created in AD.

 

If I remove the insert/update action for the container, I receive the same error for organization units.

 

Probably it's a small error, but I can't identify it :-(

 

Best regards,

 

David

  • Hello David,

    Did you solve your issue? I have the same problem now. Default Fullsynch workflow from AD to IDM is ok and also default Provisioning workflow is ok. AdHoc provisioning works good. But I created new workflow from IDM to AD for update group memberships which manually manage on Target System (AD). Sometimes I want to use IDM as master. When I execute my workflow I got same error even my workflow simulation finished successfully . How did you solve it?

    BR.

  • Hello!

    Did you solve your issue? I have the same issue. Predefined workflow Provisioning is failed when trying to Fullsync containers IDM -> AD.

  • I saw something similar but it was for the user object. One way to get some more information about what is failing is to go to the workflow that you're running and next to the button to add a new workflow there's a sheet of paper and when you hover over it says 'Show execution plan...'. If you run that report you'll be able to see what flows are ocurring in the second phase and change them as neccessary. For me, I just deleted the manager and secretary flows because I didn't need them.

  • I have the same issue, do you have solved it?

  • I found this issue on phase 2 step, if no phase 2  or set Dependency Resolving as manual,  no such error,

    So what the 2 mandatory parameters of  "Insert object" method on phase 2?

  • What version are you using? Was the synchronization project created with that version?

  • version 8.0.2 and synchronization project created with it.

    use default mappings.

  • And your ad-hoc provisioning creates that what error? Can you please describe what you have done and post the error message?

  • I don't see any error on Ad-hoc provisioning, The error appear if I create a workflow and do Full Projection

    The error show as:

    <e>2019-03-10 06:53:05 +08:00 - \1IM-JOBSERV - VI.Projector.JobComponent.ProjectorComponent - 350b972b-117d-4d5b-a7d9-93842ca6658e: Errors occurred
        [2134003] Error executing synchronization.
        [1777018] Error executing synchronization project (Active Directory Domain (DC=WT,DC=COM))'s workflow (Daily workflow 1IM is master).
        [1777124] Error executing projection step (user - Phase #2) of projection configuration (Daily workflow 1IM is master (e2321504-6724-4496-8637-8141e03b016a)).
        [1777219] Error executing synchronization step (user - Phase #2)!
        [1777218] The synchronization step (user - Phase #2) cannot be executed because not all of the 2 mandatory parameters of method (Insert object) are mapped through the active rules.
        
        Add rules for each parameter of the method used to the mapping rule (user).
           at StdioProcessor.StdioProcessor._Execute(Job job)
           at VI.Projector.JobComponent.ProjectorComponent.Activate(String task)
           at VI.Projector.JobComponent.ProjectorComponent._FullProjection()
           ---- Start of Inner Exception ----
           at VI.Projector.JobComponent.ProjectorComponent._FullProjection()
           at VI.Projector.Database.ProjectorExecutor.Project(ISession session, IProjectionConfiguration configuration, ProjectionOption options, ISystemObject adHocObject, CancellationToken cancellationToken)
           at VI.Projector.Projection.Extensions.Execute(IProjectorEngine engine, IProjectionConfiguration configuration, ProjectionOption options, ISystemObject adHocObject, CancellationToken cancellationToken)
           at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
           ---- Start of Inner Exception ----
           at VI.Projector.Projection.ProjectorEngine.<ExecuteAsync>d__3.MoveNext()
           ---- Start of Inner Exception ----
           at VI.Projector.Projection.ProjectorEngine.<ExecuteAsync>d__3.MoveNext()
           ---- Start of Inner Exception ----
           at VI.Projector.Projection.ProjectorEngine.<ExecuteAsync>d__3.MoveNext()
           at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
           at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
        --- End of stack trace from previous location where exception was thrown ---
           at VI.Projector.Projection.ProjectionStrategy.<ExecuteStepAsync>d__2.MoveNext()
           ---- Start of Inner Exception ----
           at VI.Projector.Projection.ProjectionStrategy.<ExecuteStepAsync>d__2.MoveNext()
           at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
           at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
        --- End of stack trace from previous location where exception was thrown ---
           at VI.Projector.Projection.ProjectionStrategyBase.<OnExecuteStepAsync>d__2.MoveNext()
           at VI.Projector.Projection.ProjectionStrategyBase._CheckMandatoryMethodProperties(IProjectionStep step, ProjectionDirection EffectiveProjectionDirection)

     

  • I can see from the error that you are using a custom workflow. Just curious does the out of the box initial synchronization work without any issues?  Looking at mine the user phase 2 from the ootb sync is trying to bring over the secretary and the manager attribute values. What is yours trying to do? Sounds like the mapping you have set for that workflow step is not correct based on the error.