How do I send an SMS to an Azure Action Group with an Azure Logic App (with or without ACS)

Andy Haggith 20 Reputation points
2025-05-09T18:05:13.1466667+00:00

How do I integrate an Azure Action Group into the Azure Communication Service Send SMS action or HTTP Post Action to send a preconfigured SMS message to the phone numbers in the Action Group when the Logic App is triggered from IOT Central.

I first tried using the HTTP action with a POST method and I keep getting a 404 error. I have validated authentication prior to sending the POST request to the Action group. The error I get from the HTTP action in the run history indicates that I have an incorrect Webhook URL for the Action group in question. I copied and pasted the URL from the action group into the HTTP action so it should be correct. Any thoughts on where to retrieve the webhook URL for the action group is appreciated. Or maybe that is not the error and I have gone down the wrong rabbit hole.

What we are trying now as an alternative is the Send SMS action using an Azure Communication Service. This is functioning very well however we have no way of sending the SMS message to the members of the action group. The Action in the Logic app requires that we add each individual phone number within the Logic App Action instead of sending the SMS message to the members of the already setup Azure Action Group. We would prefer to use the Action group as this is easier to maintain the group members with the Action Group instead of manual entry in the Logic app. We have many actions within the Logic App that will need to be updated every time members of the Action group change so having a single location to change the group members is the preferred method.

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
3,551 questions
{count} votes

Accepted answer
  1. Praveen Kumar Gudipudi 1,875 Reputation points Microsoft External Staff Moderator
    2025-05-09T19:48:14.46+00:00

    Hello Andy Haggith,

    Before Azure Communication Service action, we suggested to use HTTP (GET) action to fetch phone numbers details from action group dynamically and pass that in Azure Communication Service action.

    {GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/actionGroups/{actionGroupName}?api-version=2021-09-01

    }

    Note: You can pass action group name dynamically as you required.

    Please follow below document:

    https://learn.microsoft.com/en-us/rest/api/monitor/action-groups/get?view=rest-monitor-2021-09-01&tabs=HTTP

    Please follow above suggested steps and let us know if you have any questions.

    1 person found this answer helpful.
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Andy Haggith 20 Reputation points
    2025-05-13T18:23:29.45+00:00

    Not an answer.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.