Comments on: The End for Office 365 Connectors Comes Into Sight https://office365itpros.com/2024/06/11/office-365-connectors-end/?utm_source=rss&utm_medium=rss&utm_campaign=office-365-connectors-end Mastering Office 365 and Microsoft 365 Thu, 04 Jul 2024 11:19:33 +0000 hourly 1 By: Tony Redmond https://office365itpros.com/2024/06/11/office-365-connectors-end/#comment-12449 Mon, 17 Jun 2024 09:17:25 +0000 https://office365itpros.com/?p=65108#comment-12449 In reply to Peter Holdridge.

All worked out and here’s a functional PowerShell example: https://office365itpros.com/2024/06/17/teams-post-to-channel-workflow/

]]>
By: Tony Redmond https://office365itpros.com/2024/06/11/office-365-connectors-end/#comment-12421 Tue, 11 Jun 2024 15:58:09 +0000 https://office365itpros.com/?p=65108#comment-12421 In reply to Peter Holdridge.

Right, that example does work and I have used it myself to submit an adaptive card from PowerShell using the Invoke-MgGraphRequest cmdlet. However, it’s a very simple example that isn’t of much use in a real sense. I was looking for something better from the documentation (or in blogs, or wherever) to match the kimd of examples people have written about for the incoming webhook connector. I persist in my quest.

]]>
By: Peter Holdridge https://office365itpros.com/2024/06/11/office-365-connectors-end/#comment-12419 Tue, 11 Jun 2024 14:54:07 +0000 https://office365itpros.com/?p=65108#comment-12419 In reply to Tony Redmond.

This was very easy for me to find and it works for me.
https://learn.microsoft.com/en-us/microsoftteams/platform/webhooks-and-connectors/how-to/connectors-using?tabs=cURL%2Ctext1#send-adaptive-cards-using-an-incoming-webhook

{
“type”:”message”,
“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)”
}
]
}
}
]
}

This is just a sample and it worked. I plugged this into the schema in Power Automate. For the “post message to teams”, I chose the “text” element. Power Automate created 2 nested for loops for me automatically for the “attachements” and “content” arrays.

]]>
By: Tony Redmond https://office365itpros.com/2024/06/11/office-365-connectors-end/#comment-12418 Tue, 11 Jun 2024 12:26:19 +0000 https://office365itpros.com/?p=65108#comment-12418 In reply to Peter Holdridge.

Yep. Tried that. There’s a dearth of documentation on this point as to exactly what the input is to post to the URL. I’ve been chatting with some folks in Microsoft about this to see if better and more complete documentation can be produced.

]]>
By: Peter Holdridge https://office365itpros.com/2024/06/11/office-365-connectors-end/#comment-12417 Tue, 11 Jun 2024 12:24:27 +0000 https://office365itpros.com/?p=65108#comment-12417 Have you tried adding the premium connector in Power Automate called “When an HTTP Request is received”? It generates a URL. You just need to input a schema.

]]>
By: Tony Redmond https://office365itpros.com/2024/06/11/office-365-connectors-end/#comment-12416 Tue, 11 Jun 2024 08:16:06 +0000 https://office365itpros.com/?p=65108#comment-12416 In reply to wr00t.

Management…

]]>
By: wr00t https://office365itpros.com/2024/06/11/office-365-connectors-end/#comment-12415 Tue, 11 Jun 2024 07:40:00 +0000 https://office365itpros.com/?p=65108#comment-12415 It is interesting how MS tries to increase usage of Power Automate, but i’ve seen examples where management wants to restrict is as much as possible in fear of sprawl of workflows made by random users, which then business processes might rely on with no professional support maintaining them (user leaves, workflow stops working, who’s responsible?).

]]>