Technical Tip: Disable license/contract expiry notification
Description
This article describes the expired notifications when a license was not purchased or renewed.
This will mostly happen if the license in question was activated earlier during POC, or on a trial basis.
Scope
FortiGate.
Solution
The commands 'registration-notification' and 'service-expire-notification' under 'config system global' have been removed since version 5.6.0.
Hence, the FortiGate displaying a Red exclamation mark under System -> FortiGuard for the license that has expired/not renewed is expected.
Regarding the red exclamation mark, FortiGuard will continue to flag the license as expired until it is renewed. This has been verified, as the FortiGate licenses for Antivirus, Web Filtering, and Firmware & General Updates expired on 18-09-2024, exceeding 90 days, yet the notifications remain visible under System → FortiGuard, as shown in the attached screenshot below.
This behavior is expected with FortiGate and cannot be deactivated or disabled directly.
The auto trail entitlements (Antivirus/IPS/Webfilter) are generated automatically by FortiGuard servers when devices without such licenses connect to FortiGuard servers.
If the FortiGate is still running firmware before v5.6.0, it can be disabled as below:
config sys global
set service-expire-notification disable
end
However, if email alerts are enabled for this purpose, then they can be disabled under the:
config alertemail setting
(setting)set FDS-license-expiring-warning disable
(setting)end
If the FortiGates are managed using FortiManager v6.2.2 (onward).
To acknowledge expired trial licenses.
- Go to Device Manager -> License.
- Select 'Check License'.

- Clear the Industrial database check box.
The FortiGuard subscription now shows the status as Valid. - Hover over the license status for more information.

For v7.4. x and v7.6.x, refer to this KB article: Technical Tip: 'Some Fortinet Service Subscriptions have expired' message persists in notification bar after upgrading to FortiOS v7.4.4 and v7.6.0.
Note: To remove expiry notification for a single feature like OT, webfilter, disable the feature under System -> Feature Visibility: Technical Tip: Removing License Expired Notifications on FortiGate Dashboard.
Related article:
Technical Tip: How to disable the logs of web-filter license expired