Technical Tip: Unable to delete local super admin user on FortiGate with error 'Failed to delete'
| Description | This article describes the reason and solution when a local super admin user cannot be deleted on a FortiGate, despite having no visible references in the GUI or configuration. |
| Scope | FortiGate. |
| Solution | An attempt to delete a local super-admin user from the FortiGate GUI or CLI fails with the error 'Failed to delete'.
  Attempting to delete a local super_admin user results in a 'Failed to delete' error in the GUI. No visible references to the user in the configuration or interface.
Deletion fails despite the user not being used in any admin profile, VDOM assignment, or custom configuration. Here are the currently configured user accounts, and trying to delete the admin account 'daniel' for demonstration:
 
config system federated-upgrade
config system federated-upgrade
Attempting to manually modify the starter-admin using:
set starter-admin admin
Federated upgrade cannot be configured directly.
It confirms that the config cannot be altered directly and must be handled through federated upgrade commands.
Solution:
execute federated-upgrade cancel
show system federated-upgrade
Ensure starter-admin and initial-version are removed or reset.
config system admin
To check if there are any other references, run the following command and search for the user name:
show full-configuration | grep -f daniel |



