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

Comments

Projects
None yet
2 participants
@ryannix123
Copy link

commented Jun 25, 2019

@pbowden-msft Thanks for writing this script!

Any way to add notifications to a Teams channel?

@kevinmcox

This comment has been minimized.

Copy link
Contributor

commented Jun 25, 2019

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

This comment has been minimized.

Copy link
Author

commented Jun 25, 2019

Awesome, thank you!

@kevinmcox

This comment has been minimized.

Copy link
Contributor

commented Jun 25, 2019

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

Code is written, testing it now.

@kevinmcox

This comment has been minimized.

Copy link
Contributor

commented Jun 25, 2019

@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
You can’t perform that action at this time.