Which IIQ version are you inquiring about?
IdentityIQ 8.2
Share all details about your problem, including any error messages you may have received.
Hi All,
I am trying to create guest account from Sailpoint to Azure AD, Im trying with the below plan , is there anything needs to be added or changed?
ProvisioningPlan plan = new ProvisioningPlan();
plan.setTargetIntegration(“Azure AD”);
String azureApp = “Azure AD”;
// Prepare the account request for the guest user
ProvisioningPlan.AccountRequest aR = new ProvisioningPlan.AccountRequest();
aR.setApplication(azureApp);
aR.setOp(ProvisioningPlan.ObjectOperation.Create);
aR.add(new ProvisioningPlan.AttributeRequest(“accountType”, ProvisioningPlan.Operation.Set,“Guest”));
aR.add(new ProvisioningPlan.AttributeRequest(“invitedUserEmailAddress”, ProvisioningPlan.Operation.Set,"guestuser@example.com"));
aR.add(new ProvisioningPlan.AttributeRequest(“inviteRedirectUrl”, ProvisioningPlan.Operation.Set,“https://myapp.example.com”));
aR.add(new ProvisioningPlan.AttributeRequest(“sendInvitationMessage”, ProvisioningPlan.Operation.Set,true));
aR.add(new ProvisioningPlan.AttributeRequest(“invitedUserDisplayName”, ProvisioningPlan.Operation.Set,“Dharshini Guest”));
log.error(“After Attribute Requests”);
plan.add(aR);
// Execute the provisioning plan
try {
Provisioner provisioner = new Provisioner(context);
provisioner.execute(plan);
log.info(“Guest user provisioning completed successfully.”);
} catch (GeneralException e) {
log.error("Error during guest user provisioning: " + e.getMessage(), e);
}