Set up Entra SCIM user sync with HappySignals
Automate employee data sync from Microsoft Entra ID to HappySignals using the SCIM 2.0 protocol.
Once configured, Entra provisions and updates user records in HappySignals automatically and keeps them in sync as your directory changes.
What this does (and doesn't)
HappySignals uses SCIM to keep an up-to-date registry of the employees and contractors who can answer HappySignals surveys, and to enrich survey responses with organisational context (department, country, employment details).
SCIM at HappySignals is not used for login or authentication. Provisioned identities do not sign in to HappySignals. Password sync and group provisioning are not supported.
Before you start
You need:
- Administrator access to your HappySignals tenant.
- Administrator access to your Microsoft Entra tenant.
- Your HappySignals tenant subdomain and environment (e.g.
emea,us,uk). If you're unsure, HappySignals support will confirm both in Step 1.
Step 1: Request OAuth credentials from HappySignals
Email support@happysignals.com to request SCIM provisioning credentials. Include:
- Your HappySignals tenant subdomain.
- The environment your tenant is hosted in (if known).
- The name of the person or team who will administer the Entra integration.
Support will return:
- A Client ID.
- A Client Secret.
- Confirmation of your SCIM base URL and Token Endpoint (see Step 2).
Store the Client Secret securely. It cannot be retrieved later - if lost, a new one must be issued.
Step 2: Find your SCIM base URL and token endpoint
Your endpoints follow this pattern:
- SCIM base URL:
https://<tenant>.<environment>.happysignals.com/scim/v2/ - Token Endpoint:
https://<tenant>.<environment>.happysignals.com/oauth/token/
For example, for a customer acme in the emea environment:
- SCIM base URL:
https://acme.emea.happysignals.com/scim/v2/ - Token Endpoint:
https://acme.emea.happysignals.com/oauth/token/
Environments include e.g. emea, us, uk. HappySignals support confirms your exact environment during Step 1.
Step 3: Add HappySignals to Entra
- Sign in to the Microsoft Entra admin center as a directory administrator.
- Go to Identity → Applications → Enterprise applications → New application.
- Select Create your own application
- Give the application a name eg. HappySignals Surveys and select the application type as Integrate any other application you don't find in the gallery (Non-gallery)
- Finally click on Create
Step 4: Configure automatic provisioning
-
Open the newly created Enterprise application.
-
Go to Provisioning and set Provisioning Mode to Automatic.
-
Under Admin Credentials, fill in:
Field Value Tenant URL Your SCIM base URL from Step 2 Client ID From Step 1 Client Secret From Step 1 Authentication Method OAuth 2.0 client credentials grant Token Endpoint Your Token Endpoint from Step 2 -
On How credentials are sent, select Body
-
Click Test Connection. You should see a success message.
-
Click Save.

Microsoft Entra ID performs the OAuth 2.0 client credentials exchange itself and refreshes access tokens automatically. No manual token handling is required.
Step 5: Map attributes
Under Mappings, edit the Provision Microsoft Entra ID Users mapping. Remove the Provision Microsoft Entra ID Groups mapping entirely (groups are not supported).
The table below lists all attributes that HappySignals supports. Each row shows a suggested default Entra source attribute. Delete each row that you do not need. Do not map id, because HappySignals assigns it.
Two mappings are required:
userName, always.endUserIdSource, if you map any Enterprise or Organization attribute.
If a SCIM attribute is not in the Target attribute list, add it. Select Show advanced options, then Edit attribute list for HappySignals. Enter the full SCIM path from the table. If the option is missing, enable the schema editor. See Edit the list of supported attributes.
| Entra source attribute (suggested default) | SCIM attribute | Notes |
|---|---|---|
userPrincipalName |
userName |
Required. Must be unique per tenant. HappySignals stores it in lower case. |
objectId |
externalId |
Stable Entra identifier of the user. |
Switch([IsSoftDeleted], , "False", "True", "True", "False") |
active |
Entra sets IsSoftDeleted for a disabled, deleted, or out-of-scope user. HappySignals then deactivates the user and keeps the record. |
givenName |
name.givenName |
|
surname |
name.familyName |
|
userPrincipalName |
urn:ietf:params:scim:schemas:extension:happysignals:identifiers:2.0:User:upn |
Optional identifier. |
mail |
urn:ietf:params:scim:schemas:extension:happysignals:identifiers:2.0:User:email |
Optional identifier. |
mail |
urn:ietf:params:scim:schemas:extension:happysignals:identifiers:2.0:User:endUserIdSource |
Write-only. Required with any Enterprise or Organization attribute. See endUserIdSource. |
objectId |
urn:ietf:params:scim:schemas:extension:happysignals:identifiers:2.0:User:entraObjectId |
Must be a GUID. Required for survey delivery through Microsoft Teams. |
companyName |
urn:ietf:params:scim:schemas:extension:enterprise:2.0:User:organization |
The legal company of the employee. |
employeeOrgData.division |
urn:ietf:params:scim:schemas:extension:enterprise:2.0:User:division |
The business unit. This is the Microsoft Graph property name. If your Source attribute list does not show it, use an extension attribute. |
department |
urn:ietf:params:scim:schemas:extension:enterprise:2.0:User:department |
|
country |
urn:ietf:params:scim:schemas:extension:happysignals:organization:2.0:User:country |
Entra stores free text, for example US. HappySignals accepts country names, two-letter codes, and some aliases such as UK. HappySignals also uses it for the response country in reporting. It keeps an unknown value as sent. |
| No standard Entra attribute | urn:ietf:params:scim:schemas:extension:happysignals:organization:2.0:User:region |
A group of countries, for example Benelux. Use an extension attribute, a constant, or delete the row. Do not use state, because it holds a state or province. |
physicalDeliveryOfficeName |
urn:ietf:params:scim:schemas:extension:happysignals:organization:2.0:User:location |
Microsoft Graph calls this property officeLocation. Use an office or site name. Do not use a street address. |
| No standard Entra attribute | urn:ietf:params:scim:schemas:extension:happysignals:organization:2.0:User:timezone |
The Entra user has no time zone property. Use an extension attribute with an IANA name such as Europe/Helsinki, or a constant. HappySignals ignores a value that is not an IANA name. |
| No standard Entra attribute | urn:ietf:params:scim:schemas:extension:happysignals:organization:2.0:User:function |
A company-wide discipline, for example Finance, HR, or IT. Use an extension attribute, or delete the row. |
jobTitle |
urn:ietf:params:scim:schemas:extension:happysignals:organization:2.0:User:jobRole |
HappySignals prefers a high-level role to an exact title. If your job titles are very specific, use an extension attribute with a role category. |
preferredLanguage |
urn:ietf:params:scim:schemas:extension:happysignals:organization:2.0:User:language |
A BCP 47 tag such as en-US. HappySignals stores the shortest equivalent tag, for example fr for fr-FR. It does not use an invalid tag. |
employeeHireDate |
urn:ietf:params:scim:schemas:extension:happysignals:organization:2.0:User:employmentStartDate |
Must be ISO 8601. Microsoft Graph holds this value as a date and time. HappySignals rejects other formats with a 400 error. If the provisioning log shows this error, convert the value with the Entra FormatDateTime function. |
employeeType |
urn:ietf:params:scim:schemas:extension:happysignals:organization:2.0:User:employmentType |
Entra stores free text. HappySignals accepts any string. See employmentType for the advised values. |
For an attribute with no standard Entra source, use one of these sources:
- An Entra extension attribute, for example
extensionAttribute1. - A directory extension. Entra shows it in the Source attribute list as
<name> (extension_<appID>_<name>). - A Constant mapping, if all users have the same value.
By default, Entra does not send null values.
endUserIdSource
HappySignals hashes this value with a secret of your tenant. The hash links the provisioned user to the survey responses of that user. Use the same value that your ITSM integration uses to build the end user ID in survey links. This value is usually the email address, so the suggested default is mail.
- HappySignals hashes the value exactly as Entra sends it. A different letter case gives a different hash.
- Each value must be unique. If another provisioned user has the same value, HappySignals returns a 409
uniquenesserror. - If a user has no value, Entra sends nothing. If HappySignals has no stored hash for that user, it rejects the Enterprise and Organization attributes with a 400
invalidValueerror. - Choose one source and do not change it. If you change it, HappySignals keeps the earlier hashes (maximum 16), so old survey links still find the user.
- A survey link with a hash that HappySignals does not hold creates a new identity. That identity has no provisioned data.
employmentType
HappySignals accepts any string. The advised values are full-time, part-time, contractor, consultant, intern, trainee, temporary, seasonal, freelance, volunteer, and vendor.
Microsoft documents Employee, Contractor, Consultant, and Vendor as example values of employeeType. To send the advised values, use an Expression mapping:
Switch([employeeType], [employeeType], "Employee", "full-time", "Contractor", "contractor", "Consultant", "consultant", "Vendor", "vendor")
Switch compares the values with exact letter case. The second argument is the default value. It passes all other values on unchanged.
For the API contract and the schema JSON, see the SCIM API reference.

Step 6: Assign users and start provisioning
- In the Enterprise application, go to Users and groups → Add user/group and assign the users (or groups of users) that should sync to HappySignals.
- Return to Provisioning and set Provisioning Status to On.
- Click Save.
Provisioning runs on Entra's schedule (typically every 40 minutes for incremental sync). To monitor progress, open Provisioning logs.

Troubleshooting
| Symptom | Likely cause | Fix |
|---|---|---|
Test Connection fails with 401 invalid_client |
Wrong Client ID or Client Secret. | Verify the values with support. If lost, request new credentials via support. |
Test Connection fails with 400 invalid_request |
Entra sends the credentials only in the Authorization header. |
Set How credentials are sent to Body. |
| Test Connection fails with 401 "Invalid token audience" / "issuer" | Token Endpoint and Tenant URL point to different HappySignals subdomains. | Both must be on the same <tenant>.<environment>.happysignals.com domain. |
Users appear in the log with 400 invalidFilter |
Entra sent a filter expression HappySignals does not support. | Contact support with the full Provisioning log entry. |
400 invalidValue on a specific user |
Extension attributes were sent without a resolvable endUserIdSource. |
Add or correct the mapping for endUserIdSource, or ask support to seed the value. |
409 uniqueness on create |
A stale identity with the same userName or endUserIdSource exists. |
Contact support to remove or reconcile the stale record. |
| Provisioning logs show 401 "Token has expired" transiently | Access token expired between Entra's cache and the request. | Ignored by Entra; it refreshes on the next attempt. Escalate if the error persists across many cycles. |
Next step
For the underlying API contract - endpoints, attributes, filtering, pagination, and error semantics - see the SCIM API reference.