Unable to get Azure Communication Services to send Push notifications

Chad Butler 20 Reputation points
2024-06-24T19:09:45.2666667+00:00

I have push notifications working, my phone client has registered for global push (no tags) and one tag with my Azure Communications Services UserID. My assumption is that it will push a notification when a chat thread I am in receives a new message, but I do not see any incoming messages when I view the metrics on the Notification Hub. What am I missing with this setup? I have manually tested with the tag and I receive the notification, so the hub and client seem to be set up properly. Am I making invalid assumptions?

Azure Notification Hubs
Azure Notification Hubs
An Azure service that is used to send push notifications to all major platforms from the cloud or on-premises environments.
326 questions
Azure Communication Services
Azure Communication Services
An Azure communication platform for deploying applications across devices and platforms.
904 questions
0 comments No comments
{count} votes

Accepted answer
  1. hossein jalilian 8,155 Reputation points
    2024-06-24T23:31:41.1333333+00:00

    Thanks for posting your question in the Microsoft Q&A forum.

    There are a few key points to consider:

    • Azure Notification Hubs and Azure Communication Services are separate services. They don't automatically integrate to send push notifications for chat messages.
    • To send push notifications for new chat messages, you need to implement this functionality in your backend application. ACS doesn't automatically trigger push notifications through Notification Hubs.
    • For real-time chat notifications, consider using ACS's real-time notifications feature, which uses WebSockets to deliver updates to connected clients.

    Please don't forget to close up the thread here by upvoting and accept it as an answer if it is helpful


0 additional answers

Sort by: Most helpful

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.