Integration Apps
Teams
Creating a Microsoft Teams App
Create Azure App
- Go to the App Registration Portal
- Click on “New registration”
- Fill in the required fields - name must be “Duckie”
- Click on “Register”
Configure the Azure App
- Go to the app you just created
- Navigate to “App manifest”
- Update the manifest with the following in the appropriate sections:
Grant Admin Consent
- Navigate to “API permissions”
- Click on “Grant admin consent”
Create a secret
- Navigate to “Certificates & secrets”
- Click on “New client secret”
- Copy the secret as it will only be shown once
Create Microsoft Teams App
- Go to the Microsoft Teams Developer Portal
- Click on “New app”
- Fill in the required fields - name must be “Duckie”
- Fill in the
Application (client) ID
with the value from the Azure App you created earlier - Click on “Save”
Configure Microsoft Teams App
Add Bot
- Navigate to “App features”
- Click on “Bot”
- In the “Enter a bot ID” field, enter the
application-id
from the Azure App you created earlier - Select the following:
- “Upload and download files"
- "Teams”
- Click on “Save”
Add Permissions
- Navigate to “Permissions”
- Select “Send the user notifications”
- In “Teams Permissions”, select the following:
- Application:
- ChannelMessage.Read.Group
- ChannelMessage.Send.Group
- ChannelSettings.Read.Group
- Member.Read.Group
- TeamMember.Read.Group
- Application:
- In “Chat/Meeting Permissions”, select the following:
- Application:
- ChatMember.Read.Chat
- ChatMessage.Read.Chat
- ChatMessage.Send.Chat
- Application:
- Click on “Save”
Publish Microsoft Teams App
- In the Teams Developer Portal, navigate to “Publish to org”
- Click on “Publish your app”
Approve the App
- Go to the Microsoft Teams Admin Center
- Search for your app and click into it
- Click on “Publish”
- Go to the “Permissions” tab
- Grant admin consent
Note
- For the configuration files, the
TEAMS_CLIENT_ID
should be theapplication-id
from the Microsoft Teams App