Forum Discussion
dominik____
Apr 26, 2023Copper Contributor
Incoming Webhooks Emojis stopped working
Edit: It seems that emojis are working again since 28.04.2023 --- Until 25th of April 2023 I was able to send AdaptiveCards to the Teams Incoming Webhook that contained (unicode) emojis in TextB...
dcdraper
Apr 26, 2023Copper Contributor
same issue here too. It does not seem to like the ';' anymore.
- Cadder_auApr 27, 2023Copper Contributor
It's not the ; that's causing the issue - it appears to be the emoji unicode, as AndyMcMullan noted, in the 10000+ range.
A quick workaround: (assuming your card is held in string $msgJSON and your webhook is $hookURL) is to remove the #x1 ...
Invoke-RestMethod -Method post -ContentType 'Application/Json' -Body $MsgJSON.replace('#x1','#x') -Uri $HookURL
worked for me.
You still get an unknown character (eg '&F4bb;') but at least it posts.- dcdraperMay 03, 2023Copper Contributor
Cadder_au Thanks for clarifying that for me!
Anyhow, I have removed all the emojis. I hope this gets supported again.
- Meghana-MSFTMay 04, 2023Former EmployeeThe same issue is being tracked here at - https://github.com/MicrosoftDocs/msteams-docs/issues/8539. Please follow the Github thread. Thank you.