Create a bot in Microsoft Teams for GCC-H or DoD
Create a self-configured bot with Microsoft Teams for GCC-H or DoD customers to be able to integrate with the Virtual Agent.
Before you begin
Role required: none
Procedure
-
Log in to Azure portal home page and search for Bot Services on the top search bar.
-
On the Bot services page, select Create and select Azure Bot.
-
On the Azure Bot page, select Create next to the Plan menu.
-
On the form, fill in the Bot Handle, Subscription, Resource group, New resource group location, and Pricing
details.
-
Under Microsoft App ID, select the type of application from the Type of App list.
You can create a multi tenant app or a single tenant app.
-
Select the Creation type radio button.
Note:If an existing app is being used, make sure that the type of app is the same as the type of bot you’re creating. This verification is important because a multi tenant app will work with a multi tenant Microsoft Teams bot and vice versa.
- Select Review + create.
-
Review the Basic bot details provided and select Create.
When the bot is successfully created, you will receive the Deployment succeeded message.
-
On the left navigation, select Channels and select the Microsoft Teams icon under Add a featured channel.
-
On the Terms of Service pop-up, select Save and select Agree.
The channel gets saved.
-
On the left navigation, select Configuration, complete the configuration form, and select Apply.
Note:In the Messaging endpoint field, provide the instance URL address.For example: https://<instancename>.service-now.com/api/now/v1/cs/adapter/msft/events.
The domain might not be service-now.com and could be different. For example, the domain for GCC is servicenowservices.com.
Replace the <instancename> with the name of your ServiceNow instance where you are integrating with Microsoft Teams.
-
On the left navigation, select Overview.
You can also get to the Overview page by navigating to Azure Services > Azure Active Directory > Manage > App Registrations and locate your application from the list to retrieve the following details.
-
Perform the following steps to retrieve the secret value code:
- Copy the Application (client) ID and Directory (tenant) ID of your application and make a note of it.
- On the left navigation bar under Manage, select Certificates & Secrets.
- Select + New client secret, add your Description and Expiration, and select Add.
-
Copy the secret value code in the Value field and make a note of it.
Note:The secret value code is visible only once.