About Azure Notification Hubs

ktsutoshi uba 70 Reputation points
2023-07-10T04:09:35.32+00:00

・Is it possible to check whether the notification to the device failed after the message notification?

・I am using InstallationId to notify a specific device when sending message notifications in Azure Notification Hubs, but is it possible to set multiple InstallationIds when notifying multiple specific devices?

Also, in that case, is it possible to check the success or failure of notifications for each device?

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.
384 questions
0 comments No comments
{count} votes

Accepted answer
  1. brtrach-MSFT 17,741 Reputation points Microsoft Employee Moderator
    2023-08-10T00:27:55.7333333+00:00

    @ktsutoshi uba There are no character limitations. There used to be some in place but those were removed a number of years ago. Since there are no restrictions, we have no documentation to share with you.

    Let us know if you have any further questions or concerns.

    1 person found this answer helpful.
    0 comments No comments

2 additional answers

Sort by: Most helpful
  1. Sedat SALMAN 14,180 Reputation points MVP
    2023-07-10T19:22:54.76+00:00

    Azure Notification Hubs enable viewing telemetry data in the Azure portal.

    https://stackoverflow.com/collectives/azure/articles/75613990/azure-notification-hub-understanding-the-key-metrics-telemetry

    You can target specific devices by their InstallationIds when sending a push notification. However, at the moment, Azure Notification Hubs does not support sending to multiple specific InstallationIds in a single send operation.

    https://learn.microsoft.com/en-us/azure/notification-hubs/configure-notification-hub-portal-pns-settings?tabs=azure-portal

    A common workaround is to tag devices with unique tags (such as their InstallationId) and then send the notification to multiple tags. This achieves essentially the same result. The notification is distributed to all registrations that have any of the tags specified by the Notification Hubs service.

    As per the first point, you can use the telemetry data provided by Azure Notification Hubs to check the success or failure of notifications for each device. The per-notification outcome push trace provides detailed information on whether each notification succeeded or failed.

    1 person found this answer helpful.
    0 comments No comments

  2. ktsutoshi uba 70 Reputation points
    2023-08-04T01:22:38.37+00:00

    I have an additional question,

    Are there any prohibited characters in the content set in the message when using Azure Notification Hubs to notify the message?

    Also, is there a website that mentions the above?

    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.