Automate target resource account creation for all Person accounts
At this point of your journey, your midPoint configuration can automatically generate usernames and passwords, and source HRIS resource are automatically pulled into midPoint. In the setup we use in this guide, every Person has an account on the LDAP target resource. That is, excluding the new users you have added via the HRIS in the previous module.
And that is what you are to address in this module—configure midPoint so that every user of the Person archetype automatically gets an account on LDAP.
What awaits you in this module
Typically, resource provisioning is based on roles or organizations user has or belongs to. We do not manage any custom role membership yet. On the other hand, you automatically assign the Person archetype to every user who arrives from the HRIS. You will use the Person archetype to create target LDAP resource accounts as a birthright of every user imported from the HRIS.
To give user of the Person archetype this birthright, you will add a new inducement to the Person archetype that will cause ownership of an AD account.
Learn more about inducements, how they work and how they differ from other similar concepts in midPoint: Assignment × inducement × entitlement
Add inducement to the Person archetype
-
In Archetypes > All archetypes, open the Person archetype for editing.
-
You can filter archetypes by Name.
-
-
In Inducements > Resource, click New.
-
Select your target resource.
-
Click Next: Resource object type.
-
Keep the selected Default for kind: Account and click Next: Entitlements.
-
Without making any changes and click Next: Mappings to continue.
-
Do not add any mappings and click Save settings to save the configuration.
Let scheduled HRIS reconciliation ensure provisioning
You have added an entitlement to the Person archetype ensuring all Person-archetype users have an LDAP account. The next step is to wait for the scheduled HRIS reconciliation task you have created earlier to recompute all the users, find out that some users (the 900X series) do not have an LDAP projection, and fix that by provisioning them an account.
You can check the result in the user list under Users > Persons, or see the target resource directly.
What is next
With the steps above completed, you have automated provisioning target resource accounts for all people you manage in midPoint.
The next logical step is to have all new accounts automatically assigned to a default group in which all users are.