What happens when I update the Registration TTL for Azure Notification Hub for expired registrations

Ahmed Ebeid 20 Reputation points Microsoft Employee

I want to update the registration ttl of a Notification Hub, but want to know if the old registration (expired based on the new ttl) will be auto deleted or not, and if not how to delete them ?

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

Accepted answer
  1. brtrach-MSFT 12,176 Reputation points Microsoft Employee

    When you update the Registration TTL for Azure Notification Hub, the old registrations that have expired based on the new TTL will not be automatically deleted. You will need to manually delete them.

    To delete the expired registrations, you can use the Azure portal or the Azure Notification Hubs REST API**.**

    Here are the steps to delete the expired registrations using the Azure portal.

    1. Go to the Access Policies tab in the Azure portal.
    2. Click on the policy that has the Manage permission for registrations.
    3. Click on the Registrations tab.
    4. Select the registrations that you want to delete
    5. Click on the Delete button.

    Let me know if you have any questions or concerns on this matter.

    0 comments No comments

0 additional answers

Sort by: Most helpful