Created on 03-17-2021 11:08 PM Edited on 10-21-2024 12:59 AM By Anthony_E
Description
This article describes how to recover the FortiGate from not being able to delete the central-management setting because of a GUI message:
'Please unregister device from FortiManager first' (GUI).
'Please unregister-device from FortiManager first. object set operator error, -582 discard the setting Command fail. Return code -582' (CLI).
Scope
FortiGate.
Solution
Investigating this problem. In the meantime this should serve well though:
Additional note:
For FortiManager Cloud, doing the change mentioned will still result in an error:
'Please unregister-device from FortiManager first. object set operator error, -582 discard the setting. Command fail. Return code -582'
In this case, un-set the serial number of the FortiManager from the FortiGate:
config system central-management
unset serial-number
end
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.