Microsoft Teams bot
Configure the organization's Teams bot credentials, registration, default workspace and identity links
Microsoft Teams bot

Overview
The Teams bot page connects Microsoft Teams to the assistant for everyone in the organization. It holds the Azure Bot credentials, the messaging endpoint to paste into Azure, the registration policy for new Teams users, and the identity links that map a Teams account to a system user.
The page lives at /org/{slug}/settings/teams.
Prerequisites
- You are an Org admin.
- An Azure Bot registration exists, with its Bot App ID, Directory (Tenant) ID and Client Secret.
- You know which workspace new Teams users should land in, if you want a default.
Who can do this
Org admin only. The entry appears as Teams Bot in the Channels group. Billing admins and Members cannot open it.
Effect on members
- With the bot enabled, organization members can chat with the assistant inside Teams.
Default Workspaceapplies only to new Teams users; changing it does not move existing users.Max Self-Registered Userscaps how many people can sign themselves up.Block usermarks an identity link blocked until you chooseActivate user.- The per-member Teams switch on the Members page is separate from the bot configuration.
Step-by-step
- Open
Channels>Teams Bot(/org/{slug}/settings/teams). - Under
Azure Bot Credentials, fillBot App ID,Directory (Tenant) ID,Client SecretandBot Display Name, then chooseSave Configuration. - Choose
Validate Credentialsand wait forCredentials are valid. - Copy the
Messaging Endpoint (paste into Azure Bot)value fromWebhook Endpointinto the Azure Bot configuration. - Under
Registration & Identity, setRegistration Mode(Auto-approve, Admin Approval Required, Domain Restricted or Disabled),Identity ModeandMax Self-Registered Users, then pick aDefault Workspaceif needed and save. - Under
Identity Link Management, add a link withSystem User Emailand an optionalTeams Identifier, or useBlock user,Activate userandDelete linkon existing rows.
Example
A pilot group should use Teams before a wider rollout. The Org admin saves the bot credentials, validates them, sets Registration Mode to Admin Approval Required with a default workspace, and adds identity links for the pilot users. Other people wait for approval.
Expected result
Validation reports the credentials are valid, the webhook endpoint is shown, and identity links appear with an active or blocked status. Auto-linked entries are created when a user first messages the bot.
Limits and troubleshooting
- A grey
GATEWAY_BASE_URL is not configuredwarning means the shown endpoint may be wrong; fix the deployment setting rather than copying it. Identity Modechoices areAAD Only (no Graph required),Graph Email (requires admin consent)andManual Mapping Only; Graph Email needs consent in the identity provider first.- Leave
Client Secretblank to keep the stored secret. Validate CredentialsreportsValidation failedwhen the details are wrong; fix them before saving.- Existing users are not moved when the default workspace changes.