Which IIQ version are you inquiring about?
Version 8.2
Please share any other relevant files that may be required (for example, logs).
Provisioner_API.txt (898 Bytes)
Share all details related to your problem, including any error messages you may have received.
Team, we’ve identified an unusual issue where, upon executing the Provisioner_API (file attached) code, the account search DN is being reset as the baseDN for the Active Directory application. We’ve observed this behavior consistently across all environments. Could you please investigate and provide guidance on what might be causing this issue?
Identity drIdent = context.getObjectByName(Identity.class, identityName);
ProvisioningPlan adPlan = new ProvisioningPlan();
adPlan.setIdentity(drIdent);
if(null != adPlan)
{
AccountRequest acctReq = new AccountRequest();
acctReq.setOperation(AccountRequest.Operation.Modify);
acctReq.setApplication("IIQ");
acctReq.setNativeIdentity(identityName);
acctReq.add(new AttributeRequest("assignedRoles",ProvisioningPlan.Operation.Add,"SAP-EMP-BR"));
adPlan.add(acctReq);
}
custLog.debug("END Nav-CustomLCM-CreateUpdateDealer Workflow V1 :Provision New Account : AD PLAN TO XML ***##### :"+adPlan.toXml() );
Provisioner provisioner = new Provisioner(context);
provisioner.setNoLocking(true);
provisioner.setOptimisticProvisioning(true);
ProvisioningProject project = provisioner.compile(adPlan);
provisioner.execute(adPlan);