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
409 stars 41 forks source link

Question: Is it possible to create a teams approval through this module? #37

Closed richard-tonyson-cab closed 3 years ago

richard-tonyson-cab commented 3 years ago

Hi My question is as the title suggest. I am very pleased with the PSTeams module, nice examples. However, I wonder if the module can create approvals as well? If not, do you know how that would be done? Best regards, Richard

PrzemyslawKlys commented 3 years ago

You can't, as it requires server-side. Most likely PowerAutomate would be a better choice, eventually Teams Bot, but I guess PowerAutomate should do the trick.

There's also an application called Approvals - https://docs.microsoft.com/en-us/power-automate/teams/native-approvals-in-teams

richard-tonyson-cab commented 3 years ago

Ok, thanks for the superquick response!