The Microsoft Teams channel allows chatbots and agents to chat with customers via Microsoft Teams.
Once you add a Microsoft Teams channel, click anywhere on the channel row to configure it.
The Microsoft Teams channel must be enabled before you test it. To enable the channel, click the STATUS toggle.
Before starting, you must have a Office 365 E3 admin account.
Under the SETTINGS tab, you have the following options:
- Enable - make the channel live to the public
- Name - edit the channel name within the AICX platform
- Language - set the default language for customers using this channel
- Testing mode - make chatbot edits live only after when the chatbot is deployed
- Channel ID and Secret - required for the deploy script
- Delete - remove the channel
Once a Microsoft Teams channel is deleted, you will need to reset up your Office 365 E3 admin account to the new Microsoft Teams channel.
Complete the following steps to set up your Microsoft Bot Framework:
- Login to Microsoft Bot Framework with your organization Office 365 E3 admin account.
- Create a New bot with this link. Please do not click on the Create bot button to create a new bot (you will need a Microsoft Azure account if you create bot with the button).
- Fill in the bot profile:
- Bot Icon
- Display name
- Bot handle A bot handle represents a bot's registration with the online Azure Bot Service. This registration is associated with an HTTP webhook endpoint and registrations with channels. The Azure Bot Service ensures uniqueness of bot handles. The Azure portal performs a case-insensitive uniqueness check (meaning that case variations of bot handle are treated as a single handle) although this is a characteristic of the Azure portal, and not necessarily the bot handle itself.
- Long Description
- Messaging Endpoint
- Click on Create Microsoft App ID and password
- Sign in with your organization Office 365 E3 admin account
- Go to the app registrations blade and click New registration in the action bar at the top.
- Enter a display name for the application registration in the Name field and select the supported account types. The name does not have to match the bot ID.
- In the Supported account types, select the 2nd ( Accounts in any organizational directory (Any Azure AD directory - Multitenant)) or 3rd (Accounts in any organizational directory (Any Azure AD directory - Multitenant) and personal Microsoft accounts (e.g. Skype, Xbox) radio button) option.
- Click Register
If the 1st option in Supported account types is selected, the bot will be unusable.
- After a few moments, the newly created app registration should open a blade. Copy the Application (client) ID in the Overview blade.
- Go back to the Microsoft Bot Framework page and paste it in to the App ID field.
- You can add more emails of the people who have permission to edit this bot (or else you can skip this step).
- Tick on the terms agreement and click on Register
- Now, you have successfully created a bot on the Microsoft Bot Framework.
- Click the Microsoft Teams icon to connect the bot to the Microsoft Teams channel.
- Select Microsoft Teams Commercial (most common) option and click Save.
- Go back to the Microsoft Azure website, copy the Application (client) ID in the Overview blade again and paste it in Proto AICX platform CONFIGURATION page.
- Scroll to Manage tab on the left panel, click on Certificates & secrets in the left navigation column of your app registration's blade. Click the New client secret button..
- In the dialog that pops up, select Never from the Expires radio button group and click Add.
- Copy your secret's value from the table under Client secrets and paste it into the App Password field in Proto AICX platform CONFIGURATION page.
- Login to Microsoft Teams with your organization Office 365 E3 admin account.
- Click on the three dots … and search for App Studio on the search bar.
- Select the Manifest editor tab and click on Create a new app
- In (1) Details tab, fill in the App details:
- Fill in any value in short name, full name.
- Click Generate button to generate the APP ID (This APP ID is for Microsoft Teams, independent to the APP ID created in the Microsoft Azure)
- Fill in the package name, version, short description, full description.
- Upload avatar ("Full color" and "Transparent outline")
- In (2) Capabilities tab, select Bots
- Click Set up to set up the created bot to this app
- Choose Existing bot
- Select Select from one of my existing bots
- Choose the bot in the dropdown below
- In Messaging bot option, tick "My bots supports uploading and downloading files"
- In Scope option, tick Personal and Teams for the scope.
- Click Save
- In (3) Finish tab, select Test and distribute
- Click Download to download the manifest
- Go to Apps panel, scroll to the bottom and select Upload a custom app to upload the downloaded manifest in Step 6.
- Click the app created and start chatting with the bot.
- Login to your organization Microsoft 365 admin center
- Select Teams on the left panel
- Go to Team apps tab and select Setup policies and click on Global (Org-wide default)
- In Installed apps section, click on the Add apps button
- Search the bot app and click Add
- To pin the bot app on the left panel for all Microsoft Teams user in your organization, go to Pinned apps section
- Click on Add apps and search the bot app and click Add
- Click Save to setup the bot for all user in your organization
- After you edit the setup policy, it can take a few hours for changes to take effect on all users account (around 2 hours).
Updated 2 months ago