Forum Discussion

MarcoCr1420's avatar
MarcoCr1420
Copper Contributor
Nov 04, 2024

Adaptive card to teams channel as notification via email

Hi, I'd need to send an adaptive card as notification to a Teams Channel, using channel email.

As Microsoft is deprecating Webhooks and my company doesn't let me use workflow (as it's not included in our plan) the only way I found to send notification to Teams channel is using channel own email.

I know I can use an html body with a dedicated script tag when sending an email to an Outlook client in order to send an adaptive card with it. But for what I tried this trick doesn't work when sending email to a Teams channel.

Is there any other way to send an adaptive card to a Teams channel via email? Or is there any other way to do it apart from webhook or email?

The main reason for me to send an adaptive card is having a better formatting (I tried but several html tag are not recognized) and I'd like to keep the possibility to have mentions.

Thanks in advance

Regards

Marco

1 Reply

  • Could you please refer this sendEmail graph API doc once -  

    https://learn.microsoft.com/en-us/graph/api/user-sendmail?view=graph-rest-1.0&tabs=http

Resources