Requisitos Previos
- Acceso de administrador a Azure para crear el bot
- Acceso de administrador al Portal de Desarrollo de Teams
Pasos de Configuración
1. Cree el Bot de Azure
- Go to the Azure dashboard.
- Click Create Resource.
- Type
Botin the search bar and select Azure Bot. - Create a new Azure Bot and set the desired Display Name.
2. Configure el Bot
- Go to the Configuration tab and update the Messaging Endpoint to point to your server URL.Cloud customers, please enter
https://api.getodin.ai/teams/events
On-Premise customers, please enter<your backend root URL>/teams/events
- In the Configuration tab, copy the App ID and Tenant ID, then navigate to Manage Passwords.
- Create a new password for the bot and save it for later use.
- Enable a streaming endpoint for the bot in Azure and point it to the URL for that endpoint.
3. Habilite el Canal de Teams
- Click Channels on the left side of the Azure portal and enable the Teams interaction channel for the bot.
4. Registre el Bot en EKB
Cloud customers, please open a support ticket with AA Support providing your
App ID, Tenant ID, and App Password to have the bot registered for you.- In EKB, navigate to the Super Admin page and select Teams Bots on the left-hand side.
- Click Register Bot.
- Enter the App ID, Tenant ID, and Password collected in steps 6–7. Click Register Bot.
5. Cree la Aplicación en el Portal de Desarrollo de Teams
- Go to the Teams Developer Portal.
- Click New App.
- Populate the app information:
- Short Description — required, cannot be empty.
- Long Description — required, cannot be empty.
- Populate the App ID field with the bot’s App ID from Azure.
6. Configure las Funciones del Bot
- Go to App Features and add the bot, providing the App ID from Azure.
- Configure the bot capabilities as follows:

7. Despliegue
- Deploy the package following your organization’s standard policy for deploying new Teams applications.
- To configure the bot’s access to projects, send it the
!setupcommand as a first message.
Método de Despliegue Recomendado
Publicar a la Organización
En la página de la aplicación en el Panel de Desarrollo de Microsoft Teams, desplácese hacia abajo en la barra lateral izquierda. Bajo Publish, seleccione Publish to org.


Otorgar Consentimiento de Administrador
La aplicación se publicará en su instancia de Teams y puede requerir el consentimiento del Administrador. El consentimiento puede otorgarse desde el Centro de Administración de Microsoft Teams.
Esperar la Propagación
Después de que se otorgue el consentimiento, espere algunas horas para que los permisos se propaguen antes de que el bot sea utilizable. Este retraso es causado por el proceso de revisión interno de Microsoft para aplicaciones personalizadas, incluso cuando están restringidas a una sola organización.
Granularidad de los Ajustes del Bot de Teams
Después de completar la configuración inicial, envíe el comando!setup al bot para comenzar a recibir respuestas en Microsoft Teams.
Comportamiento Predeterminado
Por defecto, los ajustes del bot tienen granularidad por bot, por instancia de Teams. El proyecto, la clave API y el secreto configurados para el bot se aplican en toda la instancia de Teams — incluyendo todos los canales, grupos y mensajes directos.Ajustes por Canal (Solo On-Premise)
Para una mayor granularidad — como usar un bot con múltiples proyectos dependiendo del canal, grupo o usuario — establezca la siguiente variable de entorno del backend:Este ajuste solo está disponible para clientes on-premise. No es compatible con despliegues alojados en la nube.