Microsoft Teams Bot for A-Ops
In this guide we will showcase how to create a teams application that would allow A-Ops to interact with teams through an a-ops teams bot.
Download A-Ops Teams application (.zip)
Requirements
- Teams Integration
- Administrator access to microsoft tenancy
Steps
- Create new A-Ops bot Group:
- Create a new group within a-ops called: aops-bot
- Add a role: cluster.messages.trigger
- Create a new A-Ops bot User:
- Add the user to the newly created aops-bot group
- set it as primary group
- Generate and store the API key of this user
- Add an MS Teams Bot object in a conduct, store the bot reference in the Advanced tab
- Login to dev.teams.microsoft.apps
- Create a new bot
- Name: aops-bot
- Configure the new bot
- The Endpoint address can be constructed by:
https://prod-eu-west-1.a-ops.cloud/integration/msteams/bot/<API-key>/<Bot-Reference>
- Navigate to the client secrets tab, and add a client secret
- Once completed edit the newly created bot, and change the icon within the bot framework portal https://dev.botframework.com/bots
- Click on the Settings tab
- Edit the Icon and use the 'color' image within the aops.zip file and save changes
- Take a note of the client-ID (bot-id)
- Import aops.zip app -> https://dev.teams.microsoft.com/apps
- Edit the imported application
- Navigate to App Features
- Navigate again to App Features, select the newly created bot
- Select Personal and Team for the scope of this bot.
- Once all the information has been added publish the application to your org.
- This will need approval within https://admin.teams.microsoft.com/policies/manage-apps
- In teams, add a new app. Search for aops and press add