Send a Group Chat Notifications Dynamically in D365 CRM

How to Send a Group Chat Notifications Dynamically in D365 CRM

  • In Power Automate, there is no direct method to get a Teams GroupChat ID to send a notification to a chat dynamically.
  • You can use Microsoft Graph API to get it done – but this approach is not cost effective as it
    charges money per API call.

High level resolution steps

  • Create a field called group chat ID under “Team” Entity
  • Add group chat ID from your MS-Teams
  • Build a Power Automate flow as per your requirement to send a notification.

Detailed resolution steps

Step 1: Go to your desired team, right click anywhere inside the teams and click on copy link as shown below:

Group Chat Notifications

Step 2: Copy just the highlighted text from the URL you just copied from the above step:

This is unique for every group chat team and only copy the highlighted one and follow next step.

Step 3: Paste the Unique GroupChat ID into the form while you are creating a new team in CRM or use the unique GroupChat ID for the existing teams and save it.

Power Automate dynamic content setup for group chat notification in D365 CRM.

Step 4: Add the Teams notification action in Power Automate as shown below:

Teams notification action in Power Automate

Output:

To a particular group the notification will be sent:

Notification setup completion for sending group chat alerts in Dynamics 365 CRM.