icon-unified.svg
Experience Center

Understanding SCIM

SCIM (System for Cross-domain Identity Management) is a standard protocol that you can use for provisioning and management of users and groups. Zscaler provides an easy and consistent mechanism for customers to use SCIM to manage the lifecycle of user and group accounts in the Zscaler cloud.

You can use SCIM for:

  • Provisioning users and groups onto Zscaler.
  • Automatically updating a user's group and department on the Zscaler user database to align with the changes in your user directory.
  • Deprovisioning users from Zscaler database when users are deleted from your user directory.

There are two ways you can use SCIM with the Zscaler service. First, you can use custom SCIM clients to make REST API calls to Zscaler. To learn more, see SCIM API Examples. Second, you can use one of the IdPs partnered with Zscaler.

For IdP configuration guides, see:

When creating users, the domain included in the username must be preregistered with Zscaler. For example, if a user has the username of "test@zslog.in", the domain "zslog.in" needs to be registered with your tenant on Zscaler. Also, the users should have a primary email address as the Primary Email attribute is mandatory in ZIdentity.

SCIM User Attributes

The following sections provide information on the association between SCIM user attributes and the corresponding column name in the ZIdentity database.

Core User Scheme

The following table provides information on the association between SCIM user attributes and the corresponding column name in the ZIdentity database for the Core User Scheme.

SCIM Attribute NameZIdentity DB Column NameComments
IDComposite value of (UserId and ZoneID)The unique identifier of the user
EXTERNALIDscimExternalIdAn identifier used in the external system for user
CREATEDcreateTime (int)The timestamp when the user was created
LAST_MODIFIEDmodTime (int)The timestamp when the user information was modified
LOCATION<OneIdentityBaseUrl>/scim/<IDP Composite ID>/Users/<Composite ID>The URL to locate the user resource
VERSION2.0SCIM version (hardcoded)
RESOURCE_TYPEUserThe type of resource (user)
USERNAMEloginNameThe actual user ID used for authentication
DISPLAY_NAMEdisplayNameThe display name of the user
GIVENNAMEfirstNameThe first name of the user
FAMILYNAMElastNameThe last name of the user
NICK_NAMEnickNameThe nick name of the user
PROFILE_URLCustomAttributesThe URL to the profile of the user
TITLEtitleThe title or job of the user
USER_TYPECustomAttributesThe type of the user
PREFERRED_LANGUAGElanguageThe preferred language of the user
LOCALECustomAttributesThe locale or language tag of the user
TIME_ZONEtimeZoneThe timezone of the user
ACTIVEisDisabled()An indicator of whether the user is active or not
PASSWORDpasswordThe password used for authentication
EMAILSprimaryEmail, secondaryEmailA list of email addresses associated with the user
PHONENUMBERSprimaryPhone,mobilePhoneA list of phone numbers associated with the user
IMSCustomAttributesThe information on the Identity Management System used for user management and authentication
PHOTOSCustomAttributesThe profile photo associated with the user
ADDRESSESCustomAttributesA list of addresses associated with the user
GROUPSgroupIds Long[]The list of groups to which the user belongs
ENTITLEMENTSCustomAttributesThe list of entitlements or permissions granted for the user
ROLESCustomAttributesA list of roles assigned to the user
X509CERTIFICATESCustomAttributesThe list of X.509 certificates associated with the user

Enterprise User Scheme

The following table provides information on the association between SCIM user attributes and the corresponding column name in the ZIdentity database for the Enterprise User Scheme.

SCIM Attribute NameZIdentity DB Column NameComments
employeeNumberCustomAttributesThe employee number assigned to the user. This can be mapped to custom attributes.
costCenterCustomAttributesThe cost center to which the user belongs. This can be mapped to custom attributes.
organizationCustomAttributesThe name of the organization to which the user belongs. This can be mapped to custom attributes.
divisonCustomAttributesThe name of the division name to which the user belongs. This can be mapped to custom attributes.
departmentdepartmentThe name of the department to which the user belongs
managerCustomAttributesThe manager or the supervisor of the user. This can be mapped to custom attributes.
displayNameCustomAttributesThe display name of the manager. This can be mapped to custom attributes.
valueCustomAttributesThe identifier used for the manager. This can be mapped to custom attributes.
$refCustomAttributesThe reference value (URL) to the user that establishes a hierarchical relationship with the user. This can be mapped to custom attributes.

SCIM Group Attributes

The following table provides information on the association between SCIM group attributes and the corresponding column name in the ZIdentity database.

SCIM Attribute NameZIdentity Store Attribute NameComments
IDComposite value of (GroupId and ZoneID)The unique identifier of the user
EXTERNALIDscimExternalIdAn identifier used in the external system for user
CREATEDcreateTime (int)The timestamp when the group was created
LAST_MODIFIEDmodTime (int)The timestamp when the group was modified
LOCATION<OneIdentityBaseUrl>/<TenantID>/scim/Users/<Composite ID>The URL to locate the group resource
VERSION2.0SCIM version (hardcoded)
RESOURCE_TYPEGroupThe type of resource (group)
DISPLAYNAMEnameThe display name of the group
MembersAssign usersThe list users who are part of the group
Related Articles
Understanding SCIMSCIM API Examples