Hi @BADDI Mohamed it looks like you may have hit the device registration limit, not the active user limit.
There's a difference between active users and registered devices. Active users are those currently subscribed to receive notifications. Registered devices are all devices that have ever been registered with your Notification Hub, even if they're not currently active.
In the free tier of Azure Notification Hubs, you typically have a limit of around 100 device registrations per hub. This limit is separate from the active user limit. Even if a device is no longer active, its registration still counts towards this limit unless you explicitly delete it.
To check and manage your device registrations:
- Go to your Azure Portal.
- Navigate to your Notification Hub.
- In the left menu, under "Settings", click on "Registration Management".
- Here, you can view, search, and delete device registrations.
You have a few options to resolve this issue:
- If you have devices that are no longer in use, you can delete their registrations to free up space for new devices.
- Instead of creating new registrations for the same device (which can happen if you reinstall the app or reset the device), try to update the existing registration. This way, you're not creating a new registration but modifying an existing one.
- If you need more device registrations, consider upgrading to a paid tier that offers a higher limit. The Basic tier, for example, allows up to 200,000 device registrations.
Hope that helps.
Best,
-Grace