EvotecIT / PSTeams

PSTeams is a PowerShell Module working on Windows / Linux and Mac. It allows sending notifications to Microsoft Teams via WebHook Notifications. It's pretty flexible and provides a bunch of options. Initially, it only supported one sort of Team Cards but since version 2.X.X it supports Adaptive Cards, Hero Cards, List Cards, and Thumbnail Cards. All those new cards have their own cmdlets and the old version of creating Teams Cards stays as-is for compatibility reasons.
MIT License
410 stars 41 forks source link

What format should the $TeamsID be in? Invoke-RestMethod: is failing #3

Closed JeromeLC closed 5 years ago

JeromeLC commented 5 years ago

Invoke-RestMethod : The resource you are looking for has been removed, had its name changed, or is temporarily unavailable. At C:\Program Files\WindowsPowerShell\Modules\PSTeams\0.2.3\PSTeams.psm1:488 char:16

PrzemyslawKlys commented 5 years ago

It should be URL string for webhook. Have you followed steps: https://evotec.xyz/hub/scripts/psteams-powershell-module/ to create webhook? Use that URL as TeamsID.

JeromeLC commented 5 years ago

That worked. Thank you very much for the speedy reply.