<style> .chartjs-size-monitor { display: none !important; height: 0 !important; overflow: hidden !important; }p { margin: 0; }span.fr-emoticon.fr-emoticon-img { background-repeat: no-repeat !important; font-size: inherit; height: 1em; width: 1em; min-height: 20px; min-width: 20px; display: inline-block; margin: -0.1em 0.1em 0.1em; line-height: 1; vertical-align: middle; } span.fr-emoticon { font-weight: normal; font-family: "Apple Color Emoji", "Segoe UI Emoji", "NotoColorEmoji", "Segoe UI Symbol", "Android Emoji", "EmojiSymbols"; display: inline; line-height: 0; } blockquote { border-left: solid 2px #5e35b1; color: #5e35b1; margin-left:0; padding-left:5px;}blockquote blockquote{ border-color: #00bcd4; color: #00bcd4;}blockquote blockquote blockquote{ border-color: #43a047; color: #43a047;} table.grid{ border-collapse: collapse;} table.grid td, table.grid th { border: 1px solid #ddd;} .fr-fic.fr-dib{ display: block; margin: 5px auto;}.fr-fic.fr-dib.fr-fir{ text-align: right; margin: 5px 0 5px auto;}.fr-fic.fr-dib.fr-fil{ text-align: left; margin: 5px auto 5px 0;}.fr-fic.fr-dii{ float: none; margin: 5px auto;}.fr-fic.fr-dii.fr-fil{ float: left; margin: 5px auto;}.fr-fic.fr-dii.fr-fir{ float: right; margin: 5px auto;}img.fr-dib.fr-fir { margin-right: 0; text-align: right;}img.fr-dib.fr-fil { margin-left: 0; text-align: left;}img.fr-dib { margin: 5px auto; display: block; float: none;}img.fr-bordered { box-sizing: content-box; border: solid 5px #CCC;}img.fr-shadow { box-shadow: 10px 10px 5px 0px #cccccc;}img.fr-rounded { border-radius: 10px; -moz-border-radius: 10px; -webkit-border-radius: 10px; -moz-background-clip: padding; -webkit-background-clip: padding-box; background-clip: padding-box;}</style><p data-pasted="true"><strong>In this guide we will cover:</strong></p><p><a href="#What-is-the-SCIM-Provisioning-Integration-"><strong>- What is the SCIM Provisioning Integration?</strong></a></p><p><a href="#Enabling-the-Module"><strong>- Enabling the Module</strong></a></p><p><a href="#Connecting-SCIM-Provisioning"><strong>- Connecting SCIM Provisioning</strong></a></p><p><a href="#Users"><strong>- Users</strong></a></p><p><a href="#Groups"><strong>- Groups</strong></a></p><p><br></p><p><strong>Related Guides:</strong></p><ul><li><a href="https://www.usehalo.com/guides/2678" target="_blank" rel="noopener noreferrer"><strong>Users</strong></a></li><li><a href="https://www.usehalo.com/guides/2998" target="_blank" rel="noopener noreferrer"><strong>User and Agent Groups</strong></a></li><li><a href="https://www.usehalo.com/guides/937" target="_blank" rel="noopener noreferrer"><strong>Okta Integration</strong></a></li><li><a href="https://www.usehalo.com/guides/2925" target="_blank" rel="noopener noreferrer"><strong>Microsoft Entra ID: Single Sign-On (B2B)</strong></a></li><li><a href="https://www.usehalo.com/guides/2443" target="_blank" rel="noopener noreferrer"><strong>Microsoft Entra ID: Single Sign-On (B2C)</strong></a></li><li><a href="https://www.usehalo.com/guides/1126" target="_blank" rel="noopener noreferrer"><strong>Google Workspace Integration</strong></a></li><li><a href="https://www.usehalo.com/guides/2667" target="_blank" rel="noopener noreferrer"><strong>Single Sign-On (SSO) in Halo</strong></a></li></ul><p><br></p><p><span style="font-size: 14pt;"><strong><a id="What-is-the-SCIM-Provisioning-Integration-" class="fr-anchor" title="What-is-the-SCIM-Provisioning-Integration-"></a>What is the SCIM Provisioning Integration?</strong></span></p><p>The SCIM (System for Cross-domain Identity Management) Provisioning Integration allows Identity Providers to automatically create, update and deactivate Users and Groups in Halo. Halo acts as a SCIM server, which the Identity Provider connects to, allowing changes to be sent across to Halo.</p><p><br></p><p data-pasted="true"><span style="font-size: 14pt;"><strong><a id="Enabling-the-Module" class="fr-anchor" title="Enabling-the-Module"></a>Enabling the Module</strong></span></p><p>To enable the SCIM Provisioning integration, go to Configuration > Integrations, and find the SCIM Provisioning Integration in the Identity Management section. Hover over the module and click the "+" to enable it. Once enabled, click into the module to begin configuring the Integration.</p><p><br></p><p><img src="https://halo.haloservicedesk.com/api/attachment/image?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6ImE3MjZkZTNlLTdmMWEtNGRmMy1hYTIxLWY5OTE3ZTRhMWQzMiJ9.uI0ebVlA9e5pY03sdBGZBODSYFhsSxx5aZ4d4hNQ7XI" class="fr-fic fr-fil fr-dib" width="1034" style="width: 1036px; height: 187.467px;" height="187"></p><p><br></p><p>Click "+ New" to create a new connection.</p><p><br></p><p data-pasted="true"><span style="font-size: 14pt;"><strong><a id="Connecting-SCIM-Provisioning" class="fr-anchor" title="Connecting-SCIM-Provisioning"></a>Connecting SCIM Provisioning</strong></span></p><p>To connect SCIM Provisioning to Halo, you will first need to set a SCIM Connection Name, and specify the Identity Provider being used. This field determines where the third-party ID is stored. If your Identity Provider is not listed, select "Other" in this field.</p><p><br></p><p><img src="https://halo.haloservicedesk.com/api/attachment/image?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjYxMWQ3MTU0LWVmYTMtNGEzNC1iZjBhLTE4MDNhN2Y5YzQ0OCJ9.56p4_KOr-IB4s0Ed9l4UZ8Ir1t2NadUy31X4jCdKKa8" class="fr-fic fr-fil fr-dib" width="1043" style="width: 1045px; height: 290.057px;" height="290"></p><p><br></p><p><a href="#Okta"><strong>Okta</strong></a><strong> </strong><strong>-</strong> Selecting "Okta" as your Identity Provider will store the third-party ID in the field "uoktaid", allowing the ID to be used in Okta SSO.</p><p><a href="#Entra"><strong>Entra</strong></a><strong> -</strong> Selecting "Entra" as your Identity Provider will store the third-party ID in the field "uazureoid", allowing the ID to be used in Entra SSO.</p><p data-pasted="true"><span style="font-size: 11pt;"><a href="#Google"><strong>Google</strong></a><strong> - </strong></span>Selecting "Google" as your Identity Provider will store the third-party ID in the field "ugwid", allowing the ID to be used in Google Workspace SSO.</p><p><span style="font-size: 11pt;"><strong>Other -</strong></span><span style="font-size: 12pt;"><strong> </strong></span>Selecting "Other" as your Identity Provider will store the third-party ID in the field "uactguid", allowing the ID to be used in SSO.</p><p><br></p><p>Copy the SCIM URL, and determine the Authentication Method for your connection.</p><p><br></p><p><strong>Bearer authentication / API key - </strong>If selected, you will see a Token/API Key field below. Generate and copy this value for later. Halo API keys can be used as a Bearer tokens (specifying them in the Authorization header prefixed by "Bearer").</p><p data-pasted="true"><strong>OAuth2 client credentials grant - </strong>If selected, you will see a Token endpoint, Client ID and Client Secret. Generate and copy these values for later.</p><p><br></p><p>The details you have copied will be used by your Identity Provider to create the connection with Halo.</p><p><br></p><p>Ensure the "Active" checkbox is selected to enable the connection.</p><p><br></p><p><span style="font-size: 12pt;"><strong><a id="Okta" class="fr-anchor" title="Okta"></a>Okta</strong></span></p><p>Okta requires use of the Bearer Token (API Key) authentication method. When entering the bearer in Okta you must include the prefix "Bearer". Information on setting up your SCIM Integration in Okta can be found <a href="https://developer.okta.com/docs/guides/scim-provisioning-integration-connect/main/" target="_blank" rel="noopener noreferrer">here</a>. The server supports "SCIM 2.0 Test App (Header Auth)" so this integration template must be chosen in Okta. </p><p><br></p><p data-pasted="true"><span style="font-size: 12pt;" data-pasted="true"><strong><a id="Entra" class="fr-anchor" title="Entra"></a>Entra</strong></span></p><p data-pasted="true">Entra can use either the Bearer Token (API Key) or Client Credentials authentication method. Client Credentials are more secure, so it is recommended to use this authentication method.</p><p data-pasted="true">On the Users tab, enter your Entra tenant ID into the Entra Tenant ID field. This ensures that Users that are provisioned can use SSO with Entra.</p><p><br></p><p><img src="https://halo.haloservicedesk.com/api/attachment/image?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjdkMzJiYTFlLTljM2ItNDlhMS1hOWQ1LTkwYzYyZjVlNzU3ZiJ9.iprJDkC3I9WBW5mFH-P2Q86wiPv__79w1QkCGENYnZw" class="fr-fic fr-fil fr-dib" width="1101" style="width: 1103px; height: 427.344px;" height="427"></p><p><br></p><p data-pasted="true">Click "Save".</p><p><br></p><p data-pasted="true">Now head into Microsoft Entra ID, and select "Enterprise Apps" on the side menu. </p><p><br></p><p><img src="https://halo.haloservicedesk.com/api/attachment/image?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6ImFlYjQxYzE0LTliZTQtNDllYy04Y2MxLWQ5YzcxMzUyY2RiNiJ9.UftCZW2fMCvUYMlYTAyJB4M8UkbsPAN81-IG-nhnfLk" class="fr-fic fr-fil fr-dib" width="1098" style="width: 1100px; height: 657.462px;" height="657"></p><p><br></p><p>If you already have an application for Halo from the Entra integration setup it is recommended that you re-use the same application. Otherwise you will need to either set up the Entra Integration now, or create a new application (select "Create your Own Application from the App Gallery"). </p><p><br></p><p>Within the Enterprise application, select "Provisioning", then "New configuration".</p><p><br></p><p><img src="https://halo.haloservicedesk.com/api/attachment/image?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjYxNDhiNWIwLWExYTUtNGExNy1iMTgzLWU5YzdkOWEzYzhiNCJ9.wiFSg8IbmQDanDgVG6hLerkIN6kcogqHXjTY8N1nWL4" class="fr-fic fr-fil fr-dib" width="1101" style="width: 1103px; height: 659.561px;" height="660"></p><p><br></p><p>You'll be greeted with a screen that asks you to select authentication method and then enter some details. Choose the same authentication method you selected in Halo.</p><p><br></p><p>Set the following:</p><p><br></p><p><strong>Tenant URL - </strong>The SCIM URL</p><p><strong>OAuth Token endpoint - </strong>Token Endpoint</p><p><strong>Client identifier -</strong> Client ID</p><p><strong>Client secret -</strong> Client secret</p><p><strong>How credentials are sent - </strong>"Body"</p><p><strong>Scope -</strong> "scim"</p><p><br></p><p><strong><em>Note: If you are using the Bearer method, you will instead need to provide the Tenant URL and Secret.</em></strong></p><p><br></p><p><img src="https://halo.haloservicedesk.com/api/attachment/image?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6ImU4NDI1Y2E3LWQ3NTgtNGEwOC1hNjlkLWFmZWEwMDU2ZGRiZiJ9.hYCjI5PpkU93sBY2R4wnwpZigHXcMHG88YNNCgAjaSk" class="fr-fic fr-fil fr-dib" width="966" style="width: 968px; height: 592.728px;" height="593"></p><p><br></p><p><br></p><p>Now test the connection. You should see a successful request in the Request Logs tab of the SCIM Connection in Halo.</p><p><br></p><p data-pasted="true"><strong>Choosing what gets provisioned</strong></p><p>You now need to choose what gets provisioned.</p><p><br></p><p>On the Provisioning tab, under Mappings you can toggle provisioning of Users and Groups. These both default to On.</p><p><br></p><p>In the Settings section of this tab you can set the scope to:</p><ul><li><strong>Sync only assigned Users and Groups -</strong> you must manually add which Users and Groups will get provisioned.</li><li><strong>Sync all Users and Groups -</strong> this will provision all Users and Groups.</li></ul><p>If choosing to sync only assigned Users and Groups you can add Users and Groups on the Users and Groups tab.</p><p><br></p><p><img src="https://halo.haloservicedesk.com/api/attachment/image?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6ImEzMTAzYWRiLTliOWUtNDQxMS1hMDkyLTllZTQ4N2VlNjZhMSJ9.WUnhgCwnQqia98b7QAUuvmwPdnd9fXxOU-RYjnGasMs" class="fr-fic fr-fil fr-dib" width="1058" style="width: 1060px; height: 596.571px;" height="597"></p><p><br></p><p><br></p><p data-pasted="true"><strong>Attribute mapping</strong></p><p data-pasted="true">On the Attribute mapping tab for Users, it is recommended that you make the following changes;</p><ul><li>Edit the mapping that maps "userPrincipalName" to "userName", change its Matching precedence to 2.</li><li>Edit the mapping that maps "mailNickname" to "externalId", change it to map "objectId" to "externalId" instead. Enable "Match objects using this attribute" and set the matching precedence to 1.</li></ul><p><img src="https://halo.haloservicedesk.com/api/attachment/image?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjVjZTU1MmJiLTY0MDctNDRiZC05NzgxLWJlOTYwZWM4MjI2NSJ9.NmWFhEPSjyU9HHfup37GQ3C6tDqyE9HTAZuIThtynbs" class="fr-fic fr-fil fr-dib" width="1252" style="width: 1254px; height: 587.159px;" height="587"></p><p><br></p><p data-pasted="true"><strong>Optional attribute mapping customisation</strong></p><p data-pasted="true">If you want to change the field mappings for Users or Groups you can do this from the Attribute Mapping tab.</p><p><br></p><p>Each attribute you want to map to in Halo must be defined in the schema before you can use it in the Mappings table. To customise the schema, choose the "Advanced Options > Edit customappsso user/group attributes" option on the menu. This will open a page where you can edit the available attributes.</p><p><br></p><p>Halo properties that are not included in the base SCIM spec must be prefixed by their schema, which is urn:ietf:params:scim:schemas:extension:halo:2.0:User:. For example, if mapping to custom field id 101, you would add urn:ietf:params:scim:schemas:extension:halo:2.0:User:customfield_101 here and set it to a String. If mapping to the other1 field, you would add urn:ietf:params:scim:schemas:extension:halo:2.0:User:other1.</p><p><br></p><p>Once you've saved changes, you can go back to the mappings table and select "Add attribute mapping" to create a new mapping. You can choose to have a Direct (1-2-1 attribute mapping between Entra and Halo) mapping, or Constant (set Halo attribute to a static value), or build an Expression (if Entra value is A then set Halo attribute to B etc). The Expression builder can help you create an expression.</p><p><br></p><p>Editing mappings will trigger a full re-sync if automatic provisioning has already started.</p><p><br></p><p>If you notice a mapped field being updated on every single sync cycle even though its value never changes, this is almost always caused by the attribute not being correctly added in the schema editor above (or with the wrong type set) - double check the exact attribute name and type there first.</p><p><br></p><p data-pasted="true"><strong>Site mappings</strong></p><p>A User's site has a few different ways of being set in the Provisioning integration.</p><p><br></p><ul><li>Default at SCIM Connection level</li><li>Groups have an option to set site. Since Users can belong to many groups, you choose a precedence for the mapping and the group with the highest precedence infers the site the user goes to when they are added to or removed from a group. Manually changing the site a user belongs to stops this from applying in future.</li><li>In the attribute mappings in Entra you can set site_id/site_name and client_id/client_name to allow the Entra mappings to choose site. Entra accepts expressions here, so you can create a if/then expression to set site based on values within the Entra User.</li></ul><p><br></p><p><strong><em>Note: Entra does not send newly mapped attributes (including site_id/site_name) on the very first creation of a user - it applies them on a follow-up update shortly after. If you're relying only on attribute mappings to choose a site, a brand new user will briefly be created in a fallback/default site until that follow-up update arrives. We recommend also setting a Default Site as a safety net, even if you're using attribute Site mappings as well.</em></strong></p><p><br></p><p><strong>Testing</strong></p><p data-pasted="true">Before doing a full sync you can use Entra's "Provision on Demand" tab to manually select Users or Groups to test syncing. This will immediately process one User/Group and do the same operations that it would do if you have provisioning active. It will also show you the steps it took and why. This allows you to review the outcome in both Entra and Halo to check the results and test that any custom mappings are working as expected.</p><p><br></p><p><strong><em>Note: when testing a brand new user, custom mapped fields will look empty at first - Entra often doesn't send newly-mapped attributes on the very first creation, only on the update straight after. Re-check a moment later, or look at the next Provision on Demand run for the same user.<br></em></strong></p><p><br></p><p><img src="https://halo.haloservicedesk.com/api/attachment/image?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjBmNTRhOGZiLTM1MzYtNDA2Yy05NTVmLTE1N2Q1NGY4OTJkMSJ9.FqNPjjav1AZ2BzBLWFNV-TAcUBApPlVv-iU--lZ9Fcw" class="fr-fic fr-fil fr-dib" width="982" style="width: 984px; height: 407.646px;" height="408"></p><p data-pasted="true"><strong>Activate automatic provisioning</strong></p><p data-pasted="true">Automatic provisioning will begin by choosing either "Start Provisioning" from the Overview tab or set Provisioning Status to "On" in the Provisioning tab.</p><p><br></p><p>Entra will perform a full initial sync of all users and groups that are assigned to the provisioning config (or all users and groups if you selected this earlier). After the initial sync it will pick up changed users and groups during each provisioning run.</p><p><br></p><p>The initial sync after turning on provisioning can take a long time to even start (up to an hour).</p><p><br></p><p>Detailed logs are available in Entra under the Provisioning Logs tab. Request Logs are also available in Halo on the SCIM Connection.</p><p><br></p><p>If you notice a User or Group being updated with every provisioning run, there is likely an issue with the attributes mappings and/or something that Halo cannot handle. Repeatedly re-syncing every User can cause performance issues in Halo, so it's important to ensure that updates to Users don't happen on every sync cycle.</p><p><br></p><p data-pasted="true"><span style="font-size: 12pt;"><strong><a id="Google" class="fr-anchor" title="Google"></a>Google</strong></span></p><p data-pasted="true">Google Workspace requires use of the Bearer Token (API Key) authentication method. Information on setting up your SCIM Integration in Google Workspace can be found <a href="https://knowledge.workspace.google.com/admin/users/advanced/automated-user-provisioning-with-custom-scim-profiles" target="_blank" rel="noopener noreferrer">here</a>. </p><p data-pasted="true"><br></p><p><span style="font-size: 14pt;"><strong><a id="Users" class="fr-anchor" title="Users"></a>Users</strong></span></p><p>In the Users tab you will need to set the default Customer and Site for the User to sit under. This can be changed using the attributes: "urn:ietf:params:scim:schemas:extension:halo:2.0:User:client_name" and "urn:ietf:params:scim:schemas:extension:halo:2.0:User:site_name" in the attribute mappings in the Identity Provider. If "site_name" is not matched, a new Site will be created. The Site and precedence can additionally be configured on the Group record (Configuration > Users > Groups).</p><p><br></p><p>You can also choose to "Update Agents that are linked to User accounts" by selecting the checkbox.</p><p><br></p><p><img src="https://halo.haloservicedesk.com/api/attachment/image?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjU1NGJhZTlkLWNjMGQtNDkyZS1iNmU3LWJiZDIyY2Q0ZGFmNSJ9.a4Xcq_6NJ8n0Po7_uZaysv45Cc2TVHlRLU84XzE6-b8" class="fr-fic fr-fil fr-dib" style="width: 960px; height: 391.815px;" width="958" height="392"></p><p><br></p><p>Under the model section of this tab you will find an example Halo SCIM User format payload. </p><p><br></p><p data-pasted="true"><span style="font-size: 14pt;"><strong><a id="Groups" class="fr-anchor" title="Groups"></a>Groups</strong></span></p><p data-pasted="true">Groups can be created and managed from the Identity Provider. Once a Group has been created in Halo, you can assign Roles to the Users in the group from the Group configuration screen. The Groups button can be used to redirect to Configuration > Users > Groups, where these Groups can be created and configured. </p><p><br></p>