Unable to get Azure Communication Services to send Push notifications

Chad Butler 0 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.
295 questions
Azure Communication Services
Azure Communication Services
An Azure communication platform for deploying applications across devices and platforms.
782 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. hossein jalilian 4,695 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 comments No comments