Create an app in Microsoft Teams to enable making calls
Create an app to make outbound calls from Microsoft Teams.
Antes de Iniciar
Ensure you have installed Notify connector and other required plugins on your ServiceNow® instance. For more information, see Install Notify connector for Microsoft Teams.
Role required: Microsoft Teams admin, Microsoft Azure admin
Procedimento
-
Log in to Microsoft Teams developer portal.
Nota:
The Developer Portal for the Government Community Cloud (GCC) is accessible only through an application within Microsoft Teams. It is not available as a separate, standalone website. For more information, see Developer Portal for Teams. To create an app for GCC, you must create the app from Microsoft Teams.
-
Create an app.
- Navigate to Apps > New app.
- Enter a valid name for the app in the Add app pop-up page and select Add.
-
On the App details page, fill in the fields.
Tabela 1. App details page Field Description Short name Name of your application. For example, ServiceNow for Notify Microsoft Teams. Full name Full name of your application. App ID Unique identification number for the app. Nota:This App ID is different from the Bot ID/App ID that will be generated in further steps.Short description Brief description of the app. Long description Detailed description of the app. Version Version for the app.
For example, 1.0.
Developer or company Name Name of your company. Website Link to your company website. Privacy policy Link to the privacy statement for your app. Terms of use Link to the terms and conditions for your app. -
Select Save.
An app is created in Microsoft Teams.
-
Create a bot (Notify connector) for the new app.
- Navigate to Configure > App features.
- Select Bot.
- Select Create a new bot.
- Select New Bot.
- Enter a valid name for bot in the Add bot pop-up page and select Add.
-
Copy to a notepad the Bot ID value of the new Notify connector using one of the following options and this will be your app Client ID.
- Copy the ID from the browser URL.
- Navigate back to Bots > Tools, and copy the Bot ID.
- Go to Channels, enable Microsoft Teams, and select Save.
-
Select Client secrets and enter a client secret for your bot.
A Client secret is generated.Nota:Ensure you copy the generated Client secret to a notepad because it will not appear again.
-
Copy the Client ID/Bot ID of Notify Connector to the Application (client ID).
- Go to Apps and select the app you created.
- Navigate to Configure > Basic information.
- Paste the Client ID/Bot ID that you copied during step 3f in the Application (client) ID field and select Save.
-
Configure additional app features for new bot.
- Go to Apps and select the app you created.
- Navigate to Configure > App features > Bot > Select an existing bot and select the bot you created.
- Select Support audio calls and Support video calls from 'What can your bot do?'.
- Select Personal, Team, and Group chat from 'Select the scopes in which people can use this command'.
-
Copy the new app attributes.
- Log in to Microsoft Azure portal as Microsoft Azure admin.
- Navigate to Azure services > Azure Active Directory > Manage > App registrations.
- Search and open the new bot created for Notify Connector by name or by Application (client) ID.
-
Make a note of client ID/Application (client) ID, Object ID, and tenant ID to update these values in your ServiceNow instance in later procedures.
Nota:Bot ID created in the Microsoft Teams Developer portal and Application (client) ID in the Microsoft Azure portal are the same.
O que Fazer Depois
Assign permissions to users to access the new bot. For more information, see Manage permissions and authenticate the Notify connector app/bot in Microsoft Azure portal.