<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Forem: Wilchin Dipolog</title>
    <description>The latest articles on Forem by Wilchin Dipolog (@wilchindipolog).</description>
    <link>https://forem.com/wilchindipolog</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3547659%2F95c5b8e2-e65d-4d76-9291-e89445f9e7c4.png</url>
      <title>Forem: Wilchin Dipolog</title>
      <link>https://forem.com/wilchindipolog</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/wilchindipolog"/>
    <language>en</language>
    <item>
      <title>How to mention users (and @Everyone) in a Teams group chat from Power Automate</title>
      <dc:creator>Wilchin Dipolog</dc:creator>
      <pubDate>Tue, 07 Oct 2025 08:31:51 +0000</pubDate>
      <link>https://forem.com/wilchindipolog/how-to-mention-users-and-everyone-in-a-teams-group-chat-from-power-automate-oal</link>
      <guid>https://forem.com/wilchindipolog/how-to-mention-users-and-everyone-in-a-teams-group-chat-from-power-automate-oal</guid>
      <description>&lt;p&gt;Currently, &lt;strong&gt;Power Automate does not provide a built-in action to use the&lt;/strong&gt; &lt;code&gt;@Everyone&lt;/code&gt; feature in Microsoft Teams group chats.&lt;br&gt;
If you want to automatically notify individual all members of a chat, you need to use the &lt;strong&gt;Microsoft Graph API&lt;/strong&gt; and include proper mentions in the message payload.&lt;/p&gt;

&lt;p&gt;This guide shows how to create messages that mention &lt;strong&gt;&lt;a class="mentioned-user" href="https://dev.to/everyone"&gt;@everyone&lt;/a&gt;&lt;/strong&gt; in a Teams chat using Power Automate.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 1: Extract Teams Group Chat ID
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Open the Microsoft Graph Explorer: &lt;a href="https://developer.microsoft.com/en-us/graph/graph-explorer" rel="noopener noreferrer"&gt;https://developer.microsoft.com/en-us/graph/graph-explorer&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;In the Query Input Box, paste this: &lt;a href="https://graph.microsoft.com/v1.0/me/chats" rel="noopener noreferrer"&gt;https://graph.microsoft.com/v1.0/me/chats&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fh1u0plhr8m3w50yl17db.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fh1u0plhr8m3w50yl17db.png" alt=" " width="800" height="76"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Click &lt;strong&gt;Run Query&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;Under &lt;strong&gt;Response pre
view&lt;/strong&gt;, find this:&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fyb36otkfzni5mk3olcoj.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fyb36otkfzni5mk3olcoj.png" alt=" " width="800" height="199"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Copy it to Notepad (this will be used in the flow).
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;19:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx@thread.v2
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Step 2: Power Automate Flow
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fni4qs12rcvb08fg3dfad.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fni4qs12rcvb08fg3dfad.png" alt=" " width="373" height="476"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Actions&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Trigger:

&lt;ul&gt;
&lt;li&gt;Manually trigger a flow (or any trigger you want).&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Initialize Variable:

&lt;ul&gt;
&lt;li&gt;Name: GroupId&lt;/li&gt;
&lt;li&gt;Type: String&lt;/li&gt;
&lt;li&gt;Value: &lt;code&gt;&amp;lt;paste your chat ID&amp;gt;&lt;/code&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Send a Microsoft Graph HTTP request:

&lt;ul&gt;
&lt;li&gt;URI: &lt;code&gt;https://graph.microsoft.com/v1.0/me/chats/@{variables('GroupId')}/messages&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Method: &lt;code&gt;POST&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Body:
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;{
  "importance": "high",
  "body": {
    "contentType": "html",
    "content": "Hi &amp;lt;at id=\"0\"&amp;gt;Everyone&amp;lt;/at&amp;gt;"
  },
  "mentions": [
    {
      "id": 0,
      "mentionText": "Everyone",
      "mentioned": {
        "conversation": {
          "id": "@{variables('GroupId')}"
        },
        "displayName": "Everyone"
      }
    }
  ]
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;Content-type: &lt;code&gt;application/json&lt;/code&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Using Microsoft Graph in Power Automate is currently the only way to programmatically mention &lt;code&gt;@Everyone&lt;/code&gt; in a Teams group chat. By following the steps above, you can ensure that your message properly notifies everyone without errors, keeping your team informed efficiently. This approach is reliable, lightweight, and works directly with the chat’s conversation ID, giving you full control over mentions in automated workflows.&lt;/p&gt;

</description>
      <category>powerplatform</category>
      <category>powerautomate</category>
      <category>microsoftgraph</category>
      <category>automation</category>
    </item>
  </channel>
</rss>
