Install the HappySignals Surveys for Teams
Email is not always the best way to reach end-users. To enhance engagement with users of your services, we are introducing HappySignals Surveys for Microsoft Teams.
Install HappySignals Surveys into Azure Active Directory
To address your users with surveys, the HappySignals Surveys for Teams application must be installed and authorized to read user details from your organization's Azure Active Directory. Specifically, this is needed so that the bot can associate an email address with a user in Teams.
We currently offer a bot service that hosts the data within the EU.
To register and use the EU-based service, use the following link:
https://eu.teams.happysignals.com/
You can start the registration process with the links above, following the registration instructions below to complete registration and set up your Teams.

Install the applications via the Setup policy




Set up the Teams tenant mapping
The latest versions of Ticket-Based and Proactive applications introduced a new configuration Script Include called HappyProactiveConstants. This is your centralised script for controlling more complex application settings. There are a couple of key constants that need to be modified in your HappyConstants and HappyProactiveConstants script includes.
HappyProactiveConstants.TEAMS_TENANT_MAP
Use this constant to map all your ServiceNow instances to their corresponding Entra Tenant IDs when using HappySignals Surveys via Teams.
Note that the Entra Tenant ID differs from your Entra ID. The tenant ID is generated when you register HappySurveys via Teams in your Entra environment.
// HappyProactiveConstants.TEAMS_TENANT_MAP
// Used to check if the instance connection is valid when sending Teams messages.
// The map structure is: {'ServiceNow instance name': 'Entra tenant ID'}
HappyProactiveConstants.TEAMS_TENANT_MAP = {
'your-servicenow-instance-name': 'your-entra-tenant-id',
}
// EXAMPLE MAPPING
HappyProactiveConstants.TEAMS_TENANT_MAP = {
'happysignalsdev': '463d7efb-5fba-4d85-9a94-18ad02352f39',
'happysignalsqa': '94a92cba-7dd1-4ece-bf72-8e4b5a5cbf7e',
'happysignals': '3049ecc2-f6cf-481e-8c52-0608a30ef301'
}
Note: This article is part of the HappySignals Self-Service Implementation Tour.
To proceed to the next step in the tour, click here.