I want to write a after provisioining rule in Azure active directory connector

Hello Team,

I have one requirement, in which i need to write after provisioning rule for Azure active directory connector. Some attributes i need to pass in LDAP application after account creation successful in azure. I also need to get immutable id at azure side and need to pass in LDAP.

Thanks in advance.

@nirmal_sharma you can write after provisiinung rule , i believe you want to call ldap account only while azure account created or you have requiremnt to modify some attribute in ldap as per azure.
you will be getting parameter in after provisioning rule like result, plan , application name and use them.
You can get identity name
String identityName = plan.getNativeIdentity();
if(Util.isNullOrEmpty(identityName) && plan.getIdentity() !=null) {
identityName = plan.getIdentity().getName();
}

Check result is committed or not if you want to check
List accrs = plan.getAccountRequests(application.getName());
if(accrs .get(0).accrPr.getStatus().equals(ProvisioningResult.STATUS_COMMITTED)){

Now get the attribute which u need from azure account request
Create new plan for ldap
Set plan identity and create new account request
get the native idenitty for ldap application
then set in account request, set app name and operation .add attribute request
finally u can directly use provisioner api or call workflow

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.