This article describes how to solve an issue where the 'Device Manager' page in FortiManager indicates the FortiGate status is Out-of-sync.
FortiManager v5.6 and above, FortiGate.
Retrieve Config on the device, as shown below:
In FortiManager 7.x.x, the wizard additionally grants the options to import FortiAP and FortiSwitch profiles.
Choose one of the following options:
Policy difference may result if the FortiGate object is imported multiple times and the content is different in each one. For example, the object printer_server may have different IP addresses in the first FortiGate and the second FortiGate.
If the FortiAP and FortiSwitch profiles were selected to be imported from the FortiGate, the following screen will appear:
Afterward, the device database and policy package will be fully synchronized:
Run a policy package Install Wizard on the FortiGate(s) to finalize the sync process: