Pre-link Virtual Agent requesters for integration with Microsoft Teams
-
- UpdatedAug 3, 2023
- 2 minutes to read
- Vancouver
- Virtual Agent
Pre-link your Virtual Agent requesters to a ServiceNow instance before they run the Conversational Integration with Microsoft Teams. Batch pre-linking enables your Virtual Agent users to immediately chat with a virtual agent and receive notifications without going through the initial authentication linking process.
Before you begin
- Install Conversational Integration with Microsoft Teams, with the Automatically Link ServiceNow user profiles option enabled.
- Set up Microsoft Teams Graph spoke.
- Set up Microsoft Active Directory spoke.
- virtual_agent_admin
- external_app_install_admin
- One of the following Microsoft Teams administrator roles:
- Global Administrator
- Application Administrator
- Cloud Application Administrator
- admin or schedule_admin to change the scheduled job script
About this task
When the Automatically Link ServiceNow user profiles option is enabled on the Settings page of the Manage Microsoft Teams channel, a batch of up to 10,000 users is automatically pre-linked to a ServiceNow instance. Your existing users are pre-linked during the initial run. Newly added users are pre-linked during subsequent daily runs.
To prevent automatic batch pre-linking, disable the Automatically Link ServiceNow user profiles option on the Messaging Apps Integration UI page.
- Notifications are proactively sent by Virtual Agent to users when their identity in Microsoft Teams is associated with their identity in a ServiceNow instance. This is also true when the user is already linked with ServiceNow Virtual Agent.
- If a user is pre-linked, and when Microsoft Teams notifications are enabled in the app, notifications are pushed to the app even when a user is not logged into a Microsoft Teams account.
Batch pre-linking happens automatically via the MS Teams Daily Pre Install Job scheduled job. This job runs by default daily at 1:00 a.m., but you can change the time, if desired. To modify the default scheduled job run time or time zone, access the MS Teams Daily Pre Install Job Scheduled Script Execution form.
Procedure
- Navigate to .
- Search for the MS Teams Daily Pre Install Job scheduled job and click to open the Scheduled Script Execution form for the selected record.
- In the Run field, change the run time to your desired time.
- For a description of the other fields that you can change in this form, including Time zone, see Automatically run a script of your choosing.
- Click Save.
What to do next
You can also customize the auto-linking process for Conversational Integration with Microsoft Teams. For more information, see Customize auto-linking for Conversational Integration with Microsoft Teams.