rakutentech / node-alertnotification

MIT License
2 stars 2 forks source link

MS Teams Webhooks deprecated, support Adaptive Card #19

Open kevincobain2000 opened 2 months ago

kevincobain2000 commented 2 months ago

Action Required: O365 connectors within Teams will be deprecated and notifications from this service will stop. Learn more about the timing and how the Workflows app provides a more flexible and secure experience. If you want to continue receiving these types of messages, you can use a workflow to post messages from a webhook request. Set up workflow

https://devblogs.microsoft.com/microsoft365dev/retirement-of-office-365-connectors-within-microsoft-teams/

bbenouarets commented 1 month ago

The deadline was actually extended. However, the URL of the webhooks must be updated again by December 31, 2024.

If other system administrators are having difficulties locating the affected teams: I have written a small tool in Golang that uses the Graph API to output the affected teams.

Teams Webhook Finder

This has helped us enormously, as Microsoft does not offer its own solution for reading the affected channels and teams. We have over 350 teams in our company, which we would otherwise have had to search through manually.

I hope I could help someone here with this.

Independently of my day job, I would like to create an alternative to the native “incoming webhooks”. Maybe someone will benefit from it.

kevincobain2000 commented 1 month ago

Is it extended?

kevincobain2000 commented 1 month ago

For all other repos that we have, we have upgraded the libs:

https://github.com/rakutentech/go-watch-logs

https://github.com/rakutentech/go-alertnotification

bbenouarets commented 1 month ago

@kevincobain2000 I don't know how big is your company. But we have over 350 different teams. That is a way to discover your affected teams. You can than migrate all teams where used the incoming webhook connector to Power Automate or Logic Apps.