Forum Discussion
Bots posted a new message
We are in the process of consolidating a number of different alerting systems into Teams. This requires us to interact with the incoming webhook of channels. What we're finding is that on macOS/Windows/Web, notifications of an adaptive or message card show "Bot posted a new message" along with the name of the channel.
However, on mobile devices the notification will show the content of "summary" from the JSON payload. Is there any reason why this doesn't behave the same way on desktop devices and the web-based Teams app?
31 Replies
- amelielueckeCopper Contributor
After Microsoft deprecated Webhooks I am facing the same issue. Is there still no update on this?
- MoezTCopper Contributor
amelieluecke This was technically resolved through the Teams app team. Having said that, I haven't had a chance to test the new Power Automate webhook setup. Does that reintroduce the same behaviour?
- amelielueckeCopper Contributor
MoezT Unfortunately yes. With the new Workflows setup it is necessary to use Adaptive Cards to post messages to Teams channels. I use the predefined workflow 'Post to a channel when a webhook request is received'. The channel posts itself look nice but the notifications all look the same:
My Adaptive Card definition looks like the following. I haven't found a way to set the notifications text. Setting "summary" doesn't change anything.{ "type": "message", "attachments": [ { "contentType": "application/vnd.microsoft.card.adaptive", "contentUrl": None, "content": { "$schema": "http://adaptivecards.io/schemas/adaptive-card.json", "type": "AdaptiveCard", "version": "1.2", "body": [ { "type": "TextBlock", "size": "medium", "weight": "Bolder", "color": "Accent", "text": f"{title}", "style": "heading", "wrap": True }, { "type": "TextBlock", "text": f"{alert.message}", "separator": True, "wrap": True }, ] } } ] }
- Sayali-MSFT
Microsoft
We got the reply from engineering teams that Right now the behavior is by design that banner in desktop/website contains only the thread info, and mobile push notification contains summary as well. These behaviors are consistent crossing different scenarios including incoming webhook, mention, channel and so forth.So if you are looking for the behavior consistency for banner, it should be an intake of desktop notification team.
Could you please help by suggesting this feature on - Microsoft Teams · Community- P2SCHCopper Contributor
I have already almost given up but then found a workaround for anyone still struggling.
You can circumvent this "feature" by building a PowerAutomate Flow that triggers "When a new channel message is created" and then uses "Post a message to a Teams chat or channel" to send the summary of the Message again to group chat. Basically, this forwards the message from the Channel to a Group Chat.
Details: After the trigger you use "Apply to each" for the MessageList and inside you can use "post new messages also into Teams Group Chats".
- RigidDesignCopper Contributor
There is ABSOLUTELY no chance that it is ignoring the summary line being set and it setting it to...
Bots posted a new message
...is by design. Absolutely not. This was raised 18 months ago and was clearly forgotten about. Whoever was just asked clearly did not even read this properly or investigate it.
Anyone still using this definitely needs to stop using this functionality and create your own pish notifications as this is a lost cause.
- P2SCHCopper Contributor
RigidDesign totally agree. I can't imagine a world were this is supposed to be by design.
just please bring it in.
my users are frustrated because they have to open teams everytime a new message comes in, just to see that it might not be relevant to them this time.
- MoezTCopper Contributor
A year and a half just to say "It's not our issue, talk to someone else". Shame on you, Microsoft. Sayali-MSFT
- MoezTCopper ContributorJust in case anyone is still paying attention, the "new" Microsoft Teams version that just came out still has this same issue.
- RigidDesignCopper Contributor
Sayali-MSFT , I am somewhat astounded that this hasn't been fixed over four months on!
What's going on?!- Sayali-MSFT
Microsoft
andrea-busyrooms,@RigidDesign-We are checking it from our end and let you know.- jeremyjhCopper ContributorSayali-MSFT if this isn't going to be fixed please just tell us so I can move us back to Slack. This bug completely breaks Teams for usage as any kind of chat-ops tool.
- Sayali-MSFT
Microsoft
MoezT -We are not able to repro the scenario. Could you please share the repro steps and Adaptive Card Json, so we are try it from our end?
- MoezTCopper Contributor
Sayali-MSFT Create an inbound webhook for a channel and then send this JSON to that channel. The notification will show something like the screenshot below instead of showing the summary test.
{ "type":"message", "summary": "This is a test", "attachments":[ { "contentType":"application/vnd.microsoft.card.adaptive", "contentUrl":null, "content":{ "$schema":"http://adaptivecards.io/schemas/adaptive-card.json", "type":"AdaptiveCard", "version":"1.2", "body":[ { "type": "TextBlock", "text": "For Samples and Templates, see [https://adaptivecards.io/samples](https://adaptivecards.io/samples)" }, { "type": "Image", "url": "https://adaptivecards.io/content/cats/1.png" } ] } } ] }
- Sayali-MSFT
Microsoft
MoezT - I am also experiencing the same behavior and We have raised bug for the same and concerned team is looking into it. We will inform you once we get any update.
- Sayali-MSFT
Microsoft
MoezT - We are looking into this I will get back to you soon.- andrea-busyroomsCopper ContributorSayali-MSFT Any update on this by any chance, please? Within the connector message, we already have the "summary" field, so that when this issue is fixed, the notification will contain this very helpful information.
- Sayali-MSFT
Microsoft
andrea-busyrooms - Sorry for the delay.
We are checking the status of the fix release with the engineering team. We will let you know once we have any updates on it. Thanks.
- RigidDesignCopper Contributor
MoezT we also just implemented Teams integration, and I stumbled across your post whilst looking for the same thing.
It seems odd that it doesn't just use the same "summary" property.
- MoezTCopper Contributor
RigidDesign Yeah, what's odd is that it seems like it worked before and something changed last year.
- RigidDesignCopper ContributorYeah, I've stumbled across posts that seem to indicate it's been broken for a while ☹️