06-07-2023 05:40 PM
Couple of things I tried:
1. I created a webhook connector in msft teams and copied it Notifications destinations via Admin page -> New destination -> from dropdown I selected Microsoft teams -> added webhook url and saved it.
outcome: I don't get the option to test it and the destination doesn't show up in databricks job notification settings
Second, instead of selecting the type Teams, while creating destination, I created the it by selecting webhook and copied msft teams webhook in the url field and saved it.
outcome: the test option failed with 400 error.
06-12-2023 06:52 AM
@Kaniz Fatma thank you for answering.
The steps I tried were using the same article and It didn't help.
06-12-2023 07:26 AM
@Kaniz Fatma I did. I used the same url to send a message using python requests and it worked.
I saved the webhook in two formats as Msft teams inbuilt webhook connector and as a Webhook.
Tried with both formats.
06-13-2023 11:37 PM
Hi @Ravi Sharvirala
Thank you for posting your question in our community! We are happy to assist you.
To help us provide you with the most accurate information, could you please take a moment to review the responses and select the one that best answers your question?
This will also help other community members who may have similar questions in the future. Thank you for your participation and let us know if you need any further assistance!
06-14-2023 06:30 AM
@Vidula Khanna It's not resolved or answered yet.
06-21-2023 01:07 PM
MS Teams channel notifications are not supported for jobs, see the section "limitations" at the bottom of this page.
08-07-2023 07:43 AM
La respuesta rápida es: "Programáticamente". Revisa el artículo
https://medium.com/analytics-vidhya/send-a-message-to-microsoft-teams-via-databricks-84dd8ca06dc7
La implementación de Azure Databricks para añadir destinos de notificación directamente como canales de Teams aún se encuentra en Preview y efectivamente aún no es funcional. No solo no muestra el enlace para probar la conexión, ni siquiera lo presenta listado al momento de intentar agregar el destino de notificación al job.
Por otra parte, haciendo uso de la app Incoming Webhook en el Teams, se puede configurar exitosamente el destino de notificación como Webhook, pero al probar el mismo notarás que obtienes un error 400, el cual se deriva del formato como esta construido el mensaje.
De manera que, a falta de una app que permita al Ms Team utilizar una opción más genérica de mensaje. La alternativa más viable es realizar la construcción y envío del mensaje de manera programática a fin de asegurar que el formato sea el requerido.
En lo personal, me pareció más viable hacer a un lado el Ms Team y conectar Slack.
08-08-2023 08:49 AM
You can set up job notifications for Databricks jobs using Microsoft Teams webhooks by following these steps:
In the Databricks workspace, open the job that you want to configure notifications for.
Under "Advanced Options", click on "Edit" next to "Output".
Add the following configuration options for the job:
And that's it! You have now configured job notifications using Microsoft Teams webhooks in Databricks.
Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you won’t want to miss the chance to attend and share knowledge.
If there isn’t a group near you, start one and help create a community that brings people together.
Request a New Group