Custom Attributes for Users and Groups
Custom Attributes for Users and Groups have been presented in Metric Insights 6.3.4 and allow syncing custom attributes from Okta and will be supported for mi-ldap-usersync
and mi-o365-usersync
in future releases. Each custom attribute that needs to be synced must be created in MI. All synced custom attributes are displayed on the Info tab of User/Group Editor.
The process comprises the following steps:
Find Custom User Attributes' Values
- Access the People tab
- Select a user
- Access the Profile tab
- Copy the attributes' Variable names (located below the Display names):
- In this example 2 custom attributes will be synced and additionally mapping_group will be used to map users to groups that match this attribute's value (see Run Usersync Script for details); e.g., the user from the screenshot above will be added to 'Documentation Team from Okta Usersync' group
2. Configure Custom Attribute
Access the Settings tab
Each Custom Attribute that needs to be synced from Okta must be created in Metric Insights.
- Enter a Custom Attribute Name that will be displayed in User or Group Editor
- External ID: Enter Variable name of Okta attribute
- Optionally, provide a Description that will be displayed on hover in User/Group Editor
- Choose whether the attribute is displayed for Users, Groups or both
- [Save]
3. Run Usersync Script
Notes:
- If more than one custom user or group attribute is synced, separate attribute names with commas omitting whitespaces.
- See Find Values for Custom Attributes Sync for details on where to find custom attributes' values in Okta
- Enter custom user attributes that need to be synced using the
--custom-user-attribute
parameter - Enter custom group attributes that need to be synced using the
--custom-group-attribute
parameter - Use
--map-attr-to-group
to select an attribute which will map users to groups based on this attribute's value- If the group(s) do not exist in Metric Insights, use
--auto-create all
to auto-create them in MI
- If the group(s) do not exist in Metric Insights, use
- Sync summary is displayed listing all added users and groups