โ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