How to fix Azure Notification hub issue

Mayank Nisar 5 Reputation points
2023-11-02T13:13:46.5+00:00

From past couple of days we are facing issue with Azure Notification hub service.

Earlier the issue was with the Subscription billing, where one of our past payment was failed so the subscription got disabled and the Notification service was not working.

At this time I was not able to see the APNS and GCM credentials. It showed This credentials is not a function message.

But after that we updated the payment information and then subscription was restored.

Now I can see the APNS and GCM credentials. And I assume that the Notification Subscription also was restored. But when I try to send any notification from Test send I still get the forbidden message. Please see the below screenshot.

User's image

Please help us resolve this issue.

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
{count} votes

1 answer

Sort by: Most helpful
  1. VenkateshDodda-MSFT 21,976 Reputation points Microsoft Employee
    2023-11-03T06:24:14.67+00:00

    @Mayank Nisar Thanks for reaching out to Microsoft Q&A, apologize for any inconvenience caused on this.

    Based on the shared information, I have looked at the backend logs of the notification hub(wf-mole1) and below are the couple of observations:

    1. I see the push notifications to APNS are failing with error due to the certificate expiry. Could you please check and renew the certificate.
    2. Other push notifications are failing with 403 error. As per the REST API documentation 403 Response code means either quota has exceeded or message too large or rejected. Try send the notification with less message/payload and see whether it works.
      User's image

    Feel free to reach back to me If you have any further questions on this.


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.