Skip to main content
Jmillan
Staff
Staff
March 17, 2026

Technical Tip: Migrating from a standalone FortiGate Cloud to FortiCloud from FortiGate CLI

  • March 17, 2026
  • 0 replies
  • 423 views
Description This article describes the process of migrating from a standalone FortiGate Cloud account to FortiCloud using CLI from the FortiGate Side.  
Scope FortiGate, FortiCloud.
Solution

To migrate from a Standalone FortiGate Cloud account to FortiCloud using CLI, follow these steps:

  1. Confirm the FortiGate is registered to the correct FortiCloud/FortiCare account
    In the portal, FortiCloud Portal (FortiCloud Portal), verify that the device serial is under the intended FortiCloud account.
    The device should end up associated with the registered FortiCloud account, not the old standalone reference.

  2. Site in FortiGate environment, run the migration from CLI instead of only clicking the GUI banner
    On the FortiGate:

 

execute fortiguard-log migration <your_forticloud_password>

 

  1. Refresh the FortiCloud contract/account status.


execute fortiguard-log update

 

This command is to update the FortiCloud contract state after the account association changes.

 

  1. Recheck the GUI status.

     

  2. If it is in HA, verify which unit (primary or secondary) is actually doing the cloud registration.


In HA environments, the primary unit is the one to validate first. If the cluster or secondary keeps reapplying old cloud/account state, the banner can reappear after sync or reconnection.

 

This part is an inference based on HA behavior, refer to this article: 
Technical Tip: Common issues when registering devices to FortiCloud using FortiOS GUI (FortiGate, FortiAP, FortiSwitch)