Setting up SCIM user provisioning for Assurance
SCIM lets your identity provider (IdP), Microsoft Entra ID or Okta, manage your Assurance users automatically through Mazlan Home. When you add, change or remove a person in your IdP, the change flows through to Assurance.
What SCIM manages
Managed by your IdP through Mazlan Home:
- Creating users in Assurance when you give them access.
- Keeping their name, email, mobile and job title up to date.
- Suspending users when you deactivate or delete them, or remove their access to Assurance.
- Optionally, whether each user is a full user or a lite user, based on their IdP groups (see "Choose how user type is managed" below).
Still managed in Assurance by your admins and business unit managers:
- Business units
- User profiles and roles, including administrator access
Your Assurance roles and business units are set up specifically for your organisation, so they stay in Assurance where your admins already manage them.
Before you start
You need:
- Your Assurance site linked to your organisation in Mazlan Home. Ideagen does this for you.
- Your IdP set up for single sign-on with Mazlan Home. For Okta, SCIM only works with a SAML connection. For Entra, it works with SAML or OIDC. Follow the configuration guide:
- SCIM set up between your IdP and Mazlan Home. Follow the guide for your IdP:
- The Assurance site set as a default product instance in Mazlan Home. Users created through SCIM are only given access to default product instances, and only when they're first created. You can have more than one default product instance. If Assurance isn't a default, a Mazlan Home Tenant Administrator will need to give each new user access to Assurance by hand. Follow the configuration guide:
- The Lite Users enabled on your Assurance site, if you want any users to be Lite users.
Settle these before you turn SCIM on. Changing the default product instances later doesn't affect users who already exist.
Check your users' details in your IdP
- Username: must match the username they use for Mazlan Home. It can't be changed through SCIM after the user is created.
- Email: every user needs one. In Entra, users without an email can't be provisioned.
- Mobile number: must be in international format, for example +61412345678. Other formats aren't saved.
Choose how user type is managed
Decide who should control whether a user is full or lite. There are two options.
Option 1: Your Assurance admins manage user type (recommended for most customers)
Keep one IdP group for all your Assurance users, for example "Ideagen Assurance Users". Ideagen support leaves the group not mapped, which is the default, so there's nothing to set up.
- New users are created as full users while full licences are free. After that, they're created as lite users.
- Admins change users between full and lite in Assurance, as they do today. Their changes are kept.
This is the simplest set-up, and user type works the same way as it does now. You don't need to sync your groups to Mazlan Home for this option, though syncing them now makes it easier to switch to Option 2 later.
Option 2: Your IT team manages user type through IdP groups
Sync your groups to Mazlan Home (see "Syncing your groups" below). Then ask Ideagen support to map them for you (see "Set up the group mapping" below). Each group can be mapped to Full user, Lite user or Not mapped.
If you have unlimited licences: map your one all-users group to Full user. Everyone is created and kept as a full user.
If you have a limited number of full licences: use two groups.
| Example group | Map to | Who goes in it |
|---|---|---|
| Assurance users | Lite user | Everyone who should use Assurance |
| Assurance full users | Full user | People who need a full licence |
To give someone a full licence, add them to the full users group. To take it back, remove them from that group.
Important: with Option 2, the IdP groups decide user type. If an admin changes a user's type in Assurance, the change only lasts until the next update for that user from Mazlan Home. That can happen at any time, for example when their phone number changes or a group is renamed. Always change user type through your IdP groups.
If you want IT to manage everything else and admins to manage user type, choose Option 1.
User type in each set-up
This table shows how full or lite is decided for each way your groups can be mapped. "Next update" means the next time Mazlan Home sends a change for that user.
| Situation | No groups mapped | Only Full user mapped | Only Lite user mapped | Full user and Lite user mapped |
|---|---|---|---|---|
| New user in a mapped group | n/a | Full if a full licence is free. If not, created as lite¹ and moved to full on a later update once a full licence frees up | Lite if a lite licence is free. If not, not created, even when full licences are free | In the Full user group: same as "Only Full user mapped". Only in the Lite user group: same as "Only Lite user mapped" |
| New user not in any mapped group | Full if a full licence is free; if not, lite¹ | Full if a full licence is free; if not, lite¹ | Full if a full licence is free; if not, lite¹ | Full if a full licence is free; if not, lite¹ |
| Existing user in a mapped group (next update) | n/a | Made full | Made lite | In the Full user group: made full. Only in the Lite user group: made lite |
| Existing user not in any mapped group | No change | No change | No change | No change |
| Admin changes the type in Assurance | Kept | Kept, except Full user group members go back to full on their next update | Kept, except Lite user group members go back to lite on their next update | Undone on the next update for anyone in a mapped group |
| User removed from the mapped group | n/a | Stays full. An admin has to change them by hand | Stays lite. An admin can now make them full, and it sticks | Out of the Full user group but still in the Lite user group: becomes lite on next update. Out of both: keeps current type |
| What your IdP controls | Nothing about user type | Can only make users full | Can only make users lite | Both directions |
¹ Lite is used only when the Lite Users are enabled and a lite licence is free.
In every set-up, SCIM still creates users, keeps their details up to date and suspends them. Mapping only controls full or lite.
Syncing your groups
Assurance only sees groups that your IdP sends to Mazlan Home through SCIM. A group used only to give people access to the sign-in app won't appear.
Okta:
- In your Ideagen SAML app, go to Provisioning and make sure Push Groups is ticked.
- Under Sign On, add a group attribute statement:
- Name: groups
- Name format: Unspecified
- Filter: Matches regex
- Value: .*
- Add the groups you want to sync under Push Groups.
Entra: assign the groups you want to sync to your Ideagen enterprise app. Their members are provisioned in the next sync cycle.
Groups are created, renamed and deleted in your IdP only. They can't be changed in Mazlan Home or Assurance.
Set up the group mapping (Option 2)
Ideagen support sets up the mapping for you. Do this before you add users to the groups, so they're created with the right type.
- Create your groups in your IdP, for example "Assurance users" and "Assurance full users". Leave them empty for now.
- Sync the groups to Mazlan Home, as described above.
-
Contact Ideagen support with:
- the Assurance site or sites the mapping is for
- the name of each group, exactly as it appears in your IdP
- whether each group should be Full user, Lite user or Not mapped
- Ideagen support maps the groups on your site and lets you know when it's done.
- Add your users to the groups.
If users arrive before the groups are mapped, they're created as full users while full licences are free. They're moved to their mapped type on their next update from Mazlan Home.
To change a mapping later, contact Ideagen support with the same details.
How user type is decided (Option 2)
Each time Mazlan Home sends an update for a user, Assurance checks their groups:
| The user's groups | Result |
|---|---|
| Any group mapped to Full user | Full user, even if they're also in a group mapped to Lite user |
| Only groups mapped to Lite user | Lite user |
| No mapped groups | No change |
Users created directly in Assurance aren't in any IdP groups, so they're left as they are.
If your organisation has more than one Assurance site, each site has its own mapping. The same person can be a full user on one site and a lite user on another.
When a change can't be made
Assurance won't change a user's type when it would break a licence or safety rule. The user keeps their current type, and their other details are still updated. This happens when:
- The user should become full, but there are no free full licences.
- The user should become lite, but there are no free lite licences, or the site doesn't have the Lite Users add-on.
- The user should become lite, but they're the site's last administrator, own open or draft contracts, or are an escalation user on actions or checklists.
A new user mapped to Lite user isn't created if no lite licence is free. They aren't created as a full user instead.
Admins aren't notified when this happens. If a user's type isn't changing as expected, contact Ideagen Support.
What happens when a user changes type
This works the same way as when an admin changes a user's type today:
- Full to lite: all the user's roles are removed, including administrator. Before you move someone to lite, check whether their responsibilities need to go to someone else.
- Lite to full: the user has no roles. An admin or business unit manager needs to assign them.
Changing a user back doesn't restore their previous roles.
When changes appear
Changes aren't instant:
- Okta sends changes as they happen.
- Entra syncs about every 40 minutes. To sync one user sooner, use Provision on demand on the Entra provisioning page. It works for one user, or a group of up to five members. Deletions wait for the next cycle.
Once a change reaches Mazlan Home, it's passed to Assurance.
Day-to-day tasks
| Task | What to do |
|---|---|
| New starter | Add the person to your Assurance group in your IdP. Their account is created in Assurance with no roles. An admin or business unit manager then sets their business unit and roles. |
| Change name, email, mobile or job title | Change it in your IdP. These fields are read-only in Assurance. |
| Change full or lite (Option 1) | An admin changes it in Assurance. |
| Change full or lite (Option 2) | Move the person between your IdP groups. |
| Change business unit or roles | An admin or business unit manager changes it in Assurance. |
| Leaver | Deactivate or delete the person in your IdP, or remove their access to Assurance in Mazlan Home. They're suspended in Assurance, and their history and records are kept. |
Managing your groups
- You can rename a group in your IdP. Its mapping is kept.
- If you delete a group, its mapping is removed. If you create it again, even with the same name, ask Ideagen support to map it again.
- If Ideagen support changes a mapping, it applies to each user the next time Mazlan Home sends an update for them, not straight away. Ask Ideagen support to set up mappings before you turn SCIM on.
- Under Option 2, someone removed from their only mapped group keeps their current type. The two-group set-up above avoids this.
Frequently asked questions
Do we need separate groups for full and lite users?
No. One group is fine. You only need separate groups if you want your IT team to control who gets a full licence (Option 2).
Can SCIM assign roles or business units?
No. Your admins and business unit managers assign these in Assurance.
Can we still create users directly in Assurance?
Yes. Admins and business unit managers can still create users in Assurance, and Assurance creates the matching user in Mazlan Home. These users aren't in any IdP groups, so your admins manage their user type. Where you can, we recommend creating users in your IdP so their details stay up to date automatically.
Why did a user's type change back after an admin changed it?
Your groups are mapped (Option 2), so the user's next update from Mazlan Home applied the group mapping again. Change their type by moving them between IdP groups, or ask Ideagen support to leave your groups not mapped.
Are users ever deleted from Assurance?
No. Users deactivated or deleted in your IdP are suspended in Assurance, so their records and history are kept.
Troubleshooting
A new user hasn't appeared in Assurance.
- If you use Entra, allow up to 40 minutes, or use Provision on demand.
- Check that the Assurance site is a default product instance in Mazlan Home, or that the user has been given access to Assurance there.
- Check that the user has an email address, and that a licence was free when they were created.
A user can't sign in after SCIM was turned on.
Check that the user's username in your IdP matches their username in Mazlan Home. On sites where people sign in with their email address, also check that their email in your IdP matches their email in Mazlan Home. If both match, contact Ideagen support.
A user's type isn't what we expected.
Check which of your IdP groups they're in, and whether a licence or safety rule could have stopped the change (see "When a change can't be made" above). If you still can't work it out, contact Ideagen support with the user's name and the site.
Need help?
Contact Ideagen support to link your site, set up or change group mappings, or look into a user's type.