Verify and update application registry values to authenticate guest users in the Microsoft Teams application to start and import chats for a self-configured app.

Before you begin

Role required: admin

Procedure

  1. Navigate to All > System OAuth > Application Registry.
  2. Select the Microsoft Teams Chat Single Tenant application registry.
  3. On the form, verify and update the fields.
    Table 1. Application Registries form
    Field Description
    Name Name to identify the record. For example, Microsoft Teams Chat self-configured app, Microsoft Teams Chat App Permission ST, and so on.
    Client ID Application ID created in the Microsoft Azure portal.
    Client Secret Password generated during the app creation process in ServiceNow for Microsoft Teams.
    Authorization URL Authorization URL that includes the tenant ID that was generated during the creation of your app in ServiceNow for Microsoft Teams in the following format: https://login.microsoftonline.com/<tenantid>/oauth2/v2.0/authorize
    Token URL Token URL that includes the tenant ID of your app that was generated during creation in ServiceNow for Microsoft Teams in the following format: https://login.microsoftonline.com/<tenantid>/oauth2/v2.0/token
    Redirect URL Redirect the URL that includes your ServiceNow for Microsoft Teams instance URL in the following format:

    https://<instanceURL>/oauth_redirect.do

  4. Select Save.
  5. Navigate to ServiceNow for Microsoft Teams > Properties.
  6. Select the option Set this property to true to use integration hub action for Start Chat / Import chat flows.
  7. Select Save.
  8. Repeat this procedure for the Microsoft Teams Chat App Permission ST application registry.