Install Teams Bot
To get started with notifications via teams the company need to install our Ignos teams bot. It needs to be installed to a teams channel with all cnc operators.
For private distribution outside of the Teams store we need each company to install the teams bot via a zip file. The zip file consists of 3 files, manifest.json
, ignos-color.png
and ignos-outline.png
. The manifest specifies a botId, which is the client id for our in bot in Azure Active Directory.
Download: ignos_teams_bot.zip
Install Procedure
Adding the app to admin center
- Go to Teams Admin Center.
- Navigate to
Team Apps
andManage Apps
. - Press
Actions
, thenUpload new app
. - Upload the
ignos_teams_bot.zip
file.
It takes some time before the app shows up in Teams and is ready to install without App not available
or permission errors. ~20 minutes and it should show up if you search for the bot.
Now we go to teams to install to a channel
- Go to Teams.
- Navigate to
Apps
then search forIgnos Bot
[^1]. - Select
Add to a team
and select a channel for everyone that needs access to the bot.
[^1] There is an issue with Teams where apps that was recently added in admin center doesn't show under Built for your org
. It will show up eventually, but it may take up to 2 hours.
Verify the bot works as expected
- Message the bot
@Ignos sync
to synchronize new members. - The bot will reply with a list over all the members that was synchronized.
Synchronization
For the bot to be able to send a user a private message in teams, we need to retrieve the users teams id. To synchronize, Teams triggers events from the channel where the bot is installed. On these events we retrieve information on the members of the channel and synchronize their teams id to our database.
To trigger sync manually we have the @Ignos sync
command, where you also see who has been synchronize again.
Data Storage
The bot stores the users: Name, Email, Tenant id, Teams id, Azure active directory id and Conversation id.