Hello community,
I'm trying to mention a user when creating a post in a Teams channel using ChatOps.
Using https://learn.microsoft.com/en-us/microsoftteams/platform/task-modules-and-cards/cards/cards-format?tabs=adaptive-md%2Cdesktop%2Cconnector-html#microsoft-entra-object-id-and-upn-in-user-mention, I managed to create this:
var adaptiveCardBody = new List<AdaptiveElement>()
{
new AdaptiveTextBlock("Hello <at>Mauro Druwel</at>")
{
Wrap = true,
AdditionalProperties = new AdaptiveCards.SerializableDictionary<string, object>
{
{
"msteams", new
{
entities = new List<object>
{
new
{
type = "mention",
text = "<at>Mauro Druwel</at>",
mentioned = new
{
id = "mauro.druwel@skyline.be",
name = "Mauro Druwel",
},
},
}
}
},
},
},
};
This should tag the user; unfortunately, it is not working. How can I resolve this?
Meanwhile, we’re introducing DataMiner Assistant as new MS Teams solution for DataMiner.
This new solution has multiple benefits, like supporting natural language instead of relying on rigid commands.
See https://docs.dataminer.services/dataminer/Functions/DataMiner_Assistant/Assistant_M365.html for more info.
Full disclosure: today, ChatOps still supports certain capabilities which are not supported by DataMiner Assistant yet (like triggering a conversation from the system to the user, which you’re using in your implementation.)
Don’t worry: we’re doing a soft End Of Life for ChatOps, so your existing implementation will not cease to work. We’re keeping documentation & the services alive to keep it running, but we’re disabling new installations & have shifted development efforts from ChatOps for DataMiner Assistant.
Hence, I will close this feature request.
Stay tuned for more updates about DataMiner Assistant via our usual channels. When the missing capabilities are available, I’d advise you to make the switch to DataMiner Assistant to enjoy all its nifty, modern perks!
Best regards!