Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Post to a Teams channel? #18

Open
ryannix123 opened this issue Jun 25, 2019 · 4 comments
Open

Post to a Teams channel? #18

ryannix123 opened this issue Jun 25, 2019 · 4 comments

Comments

@ryannix123
Copy link

@pbowden-msft Thanks for writing this script!

Any way to add notifications to a Teams channel?

@kevinmcox
Copy link
Contributor

Looks like Teams supports incoming webhooks so it should be pretty easy to add.

I'll take a look in a bit if Paul doesn't beat me, only problem is I don't have Teams to test with.

@ryannix123
Copy link
Author

Awesome, thank you!

@kevinmcox
Copy link
Contributor

Didn't realize you could sign-up for Teams with a free account now.

Code is written, testing it now.

@kevinmcox
Copy link
Contributor

@ryannix123 Checkout PR #19, I added basic support for Teams notifications.

There are definitely some formatting options available that you could configure (by editing MAUCacheAdmin) such as adding a title, formatting (bold, italics, etc.) to suite your taste.

I don't see a way to specify a name or icon in the cURL request like we can with Slack, so that'll have to be configured when setting up the incoming web hook unless Paul knows some options I couldn't find online.

But for basic notifications this will get the job done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants