Area: Observability
Sub-Area: Integrations
Applies to: Cloud
Issue
You want to set up the DataHub Microsoft Teams integration, or the Teams app does not connect and you do not get notifications in Teams.
You Might Be Asking
- Does Teams work with self-hosted DataHub?
- Where do I get the Teams app, and does the setup use webhook URLs?
- I can't see the Teams integration in Settings. What do I do?
- How do I connect my own Teams account?
Cause
The Microsoft Teams App is a DataHub Cloud feature. Self-hosted OSS DataHub does not have it. You download the Teams app package (a ZIP file) from your DataHub instance. A Teams or Azure admin uploads it to Teams and connects it to DataHub. The setup steps below have no webhook URL step. DataHub sends messages through Bot Framework.
Solution
Set up the Teams app (Teams or Azure admin)
- In DataHub, go to Settings > Integrations > Teams. Under Teams App Package, click Download Teams App (.zip).
- In the Teams Admin Center, go to Teams Apps > Manage Apps > Actions > Upload new app. Upload the ZIP.
- Log out of Teams, wait 5 minutes, and log back in.
- In Teams, go to Apps > Built for your org. Find DataHub, click Add, then Open.
- Copy the team link: click "..." next to the team, then Copy link (Get link to team).
- In DataHub, paste the link into the Teams URL field. DataHub extracts the tenant ID for you. Click Connect to Teams and complete the Microsoft authentication.
- Add the DataHub bot to each channel you want to use.
The setup needs these Microsoft Graph application permissions with admin consent: User.ReadBasic.All, Team.ReadBasic.All, Channel.ReadBasic.All and TeamsActivity.Send.
See Microsoft Teams App Setup.
Set a default Teams channel
On the platform Notifications settings page, Teams defaults use a channel search. Pick a channel there. When Teams is enabled and a channel is set, a test notification button appears. Use it to check delivery.
Connect your own Teams account
Go to Settings > My Notifications, turn on Teams, and click Connect to Teams. After you connect, you receive Teams direct messages.
Group-level Teams notifications are not supported at this time.
If the Teams integration is not visible
The Teams integration tile appears only when the feature is enabled for your instance. You can't change this yourself. Contact DataHub Support.
If it still does not work
- Confirm the ZIP was uploaded and the DataHub app was added in Teams.
- Confirm an admin granted consent for the Graph permissions above.
- Confirm the DataHub bot was added to the channel you want to use.