From WATS Cloud version 2025.1.10, our SCIM implementation will now support additional attributes that allows for more automation when it comes to managing your users.
This document assumes you have already created a SCIM implementation, either by using the WATS Enterprise Application or created your own Enterprise Application for provisioning.
Adding attributes
- Log in to the Azure Portal
- Navigate to your Entra ID tenant
- Find your Enterprise Application
- Open the provisioning tab
- Open the provisioning tab again, then click "Provision Azure Active Directory Users" under the Mappings menu
- At the bottom, check the "show advanced options" checkbox, then click "Edit attribute list for WATS"
- Add the attribute names you wish to set up for (the entire key, not just the readable name)
- Click save when all wanted attributes have been added
- Now click the "Add New Mapping" link
- Fill out the boxes with information to fill your needs. The following image shows one example of how you can configure the mapping
Hint: Use the "expression builder" to test the output of your expression for various user objects - Click "Ok"
- When all wanted attributes have been added, click "Save"
Supported Additional Attributes
| Attribute Name | Added (Version) | Description |
| levels | 2025.1.10 | Allows restricting to levels |
| productGroups | 2025.1.10 | Allows restricting to product groups |
| roles | 2026.3.6 | Allows setting multiple roles per user |
| webClient | 2026.3.6 | Allows setting web clients for users |
Levels
To add level restriction to your provisioning job, navigate to the attribute mappings list (see adding attributes)
Add a new attribute named "urn:ietf:params:scim:schemas:extension:custom:2.0:user:levels"
The mapping has to follow the following
- Has to be in a string format
- Can have multiple values, seperated by ";"
- Level need to exist in WATS
- Supports being added on user creation and update
- If user is updated, will only add levels to user. To remove, use the WATS Control Panel
The following Entra ID example will take the country assigned to the user in Entra ID, match it to pre-defined strings then join them with the separator ';' if more than one is found. This can be expanded to fit your need by adding more IIF statements.
Join(";", IIF([country]="usa", "Production", ""), IIF([country]="norway", "Development", ""))
Product Groups
To add product group restriction to your provisioning job, navigate to the attribute mappings page (see adding attributes)
Add a new attribute named "urn:ietf:params:scim:schemas:extension:custom:2.0:user:productGroups"
The mapping has to follow the following
- Has to be in a string format
- Can have multiple values, seperated by ";"
- Product group need to exist in WATS
- Supports being added on user creation and update
- If user is updated, will only add product groups to user. To remove, use the WATS Control Panel
The following Entra ID example will match the city assigned to the user in Entra ID to pre-defined strings and join the results with the separator ';'. This can be expanded to fit your need by adding more IIF statements.
Join(";", IIF([city]="Oslo", "Production", ""), IIF([city]="Drammen", "Development", ""))
Roles
To add multiple roles to your provisioning job, you can now use the Entra ID expression "AppRoleAssignmentsComplex([appRoleAssignments])" to provision multiple roles.
This requires changing the existing roles attribute (see adding attributes) or deleting the old roles attribute and creating a new one. The new mapping has to target "roles" and not "roles[primary eq "True"].value".
The mapping has to follow the following
- Has to be in a string format
- If multiple roles are to be provisioned, it needs to have the Multi-Valued checkbox checked
- If changing this back to single role provisioning, Multi-Valued needs to be disabled to use SingleAppRoleAssignment again. This is a limitation in Entra ID's provisioning agent.
- Roles need to exist in WATS
- Supports being added on user creation and update
- On update, any role not present in the provisioning data will be removed from the user
The entire mapping for multiple roles are as follows:
AppRoleAssignmentsComplex([appRoleAssignments])If you wish to go back to a single role, we advise changing the mapping back to "roles[primary eq "True"].value", remove Multi-Valued from the attribute and using the following expression:
SingleAppRoleAssignment([appRoleAssignments])
Web Client
To add web clients to your provisioning job, navigate to the attribute mappings page (see adding attributes)
Add a new attribute named "urn:ietf:params:scim:schemas:extension:custom:2.0:user:webClient".
The mapping has to follow the following
- Has to be in a string format
- Has to be a single value
- Web client needs to exist in WATS
- The value to add can be found by using the System Manager and copying the computer names of web clients, or by using the Users' grid and opening the web client column of any user
- The values are case-insensitive, but has to match otherwise
- Supports being added on user creation and update
An example for applying this mapping may be to use [city] or [country] to match to specific web clients. A join here just allows multiple IIF statements in a single expression. The IIFs are used to match the city to a different value, as in most cases the web clients in WATS will not match 1:1 with the city used in Entra ID. A custom attribute in Entra can also be used instead, which allows a direct mapping from Entra ID attribute to provisioning attribute.
Join("", IIF([city]="Oslo", "Oslo Web Client", ""), IIF([city]="Drammen", "Drammen Web Client", ""))
Comments
0 comments
Article is closed for comments.