Help/Integrations/Microsoft Teams

Microsoft Teams

OAuthCommunication & SupportOrg connection

Org-level connection

Microsoft Teams is connected once at the org level by an admin. The credential is shared across all groups that have been granted access — individual team members don't need to connect their own accounts.

How to connect

1

Go to portal.azure.com → Azure Active Directory → App registrations → New registration

2

Under Certificates & secrets → New client secret, generate a secret

3

Copy the Application (client) ID and paste it below

4

Note: Full OAuth flow coming soon.

Ready to connect?

Go directly to the integrations page in your dashboard.

Open Integrations →

Permissions (scopes)

These are the data scopes On Belay can be granted for Microsoft Teams. Your org admin controls which scopes are enabled per group.

ScopeDescriptionAccess
Team.ReadBasic.AllRead teamsRead only
Channel.ReadBasic.AllRead channelsRead only
ChannelMessage.Read.AllRead channel messagesRead only
Chat.ReadRead chatsRead only
User.Read.AllRead usersRead only

Troubleshooting

"redirect_uri_mismatch" error during OAuth

Your OAuth app's authorized redirect URIs don't include the On Belay callback URL. Add https://app.onbelay.ai/api/oauth-callback/microsoft_teams to the allowed redirect URIs in your OAuth app settings.

"invalid_scope" error

The API or scope isn't enabled in your cloud project. For Google integrations, make sure the relevant API (e.g., Google Ads API, Search Console API) is enabled in Google Cloud Console for your project.

Connected but Claude can't access data

Check that your group has been granted access to this integration in On Belay → Groups → [your group] → Integrations. Also verify the specific scopes your group is permitted to use match what your query requires.

Still stuck? We're happy to help.

Contact support →