Skip to content

Instantly share code, notes, and snippets.

View lighthouseofthenight's full-sized avatar

Oleksandr Oleinykov lighthouseofthenight

View GitHub Profile
@lighthouseofthenight
lighthouseofthenight / teams-chat-post-for-workflows.sh
Created April 28, 2025 01:31 — forked from chusiang/teams-chat-post-for-workflows.sh
Post a message to Microsoft Teams with bash script.
#!/bin/bash
# =============================================================================
# Author: Chu-Siang Lai / chusiang (at) drx.tw
# Filename: teams-chat-post-for-workflows.sh
# Modified: 2024-07-22 11:44 (UTC+08:00)
# Description: Post a message to Microsoft Teams via "Post to a chat when a webhook request is received" workflows.
# Reference:
#
# - https://gist.github.com/chusiang/895f6406fbf9285c58ad0a3ace13d025
# - https://devblogs.microsoft.com/microsoft365dev/retirement-of-office-365-connectors-within-microsoft-teams/