FortiGuest
FortiGuest is an access management solution that provides secure network access to guests as per the configured policies. It monitors and reports user activity ensuring policy compliance and network security.
cwaffokahouo
Staff
Staff
Article Id 404494
Description This article describes how to automatically delete unused expired accounts and devices.
Scope FortiGuest v2.2.1-build0317.
Solution

This article will demonstrate how to purge unused expired accounts and devices, as well as how to verify that the purge was done correctly.

 

  1. How to automatically delete unused expired accounts and devices.

 

Log in to the FortiGuest admin portal and go to:

 

  1. System -> Data Retention Policy.
    • Under Data Retention Policy, select Enable.
    • Cut off Days: Enter '0' (0 will purge immediately).
    • Policy: Choose Delete only (it is also possible to choose to archive on a FTP/SFTP server and delete).
    • Select OK (to save the configuration).
  2. After saving, select Execute Now (to purge data).

 

Data Retention Policy configuration to purge unused  expired registered devices and accountsData Retention Policy configuration to purge unused expired registered devices and accounts

 

  1. How to verify that the purge was done correctly

 

To verify that the purge has been done correctly, go to Accounts -> Manage Accounts.

 

The picture below shows the account list before the purge:

 

Account list before PurgeAccount list before Purge

 

The picture below shows the registered device list before the purge:

 

Registered device list before PurgeRegistered device list before Purge

 

After running <Execute Now>, the following is the new account list:

 

Account list after PurgeAccount list after Purge

 

And the following is the new registered device list:

 

Device list showing empty after purgeDevice list showing empty after purge

 

Note:

  • This procedure only applies to expired accounts whose lifetime has expired.
  • This procedure will also delete expired registered devices whose lifetime has expired.