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

Ahmed Ebeid 20 Reputation points Microsoft Employee
2023-05-01T15:26:39.4433333+00:00

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

Accepted answer
  1. brtrach-MSFT 17,166 Reputation points Microsoft Employee
    2023-05-05T03:31:03.9366667+00:00

    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

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.