FortiGate requires: FortiGate Cloud Standard subscription (paid) to perform configuration changes from FortiGate Cloud, including resetting the admin password via CLI Script.
 2. The FortiGate had to be previously configured in the Fabric Connectors section for the management connectivity status in FortiGate Cloud to display as Active. Requirements:
The unit is configured to connect to FortiGate Cloud for central management, and Management Connectivity shows as 'Active'. The unit has a valid FortiGate Cloud Standard subscription, see Feature Comparison. Ensure that the FortiGate has Internet connectivity so that the password configuration can be successfully applied.
 Starting FortiGate Cloud v26.1.0, remote access to FortiGate GUI is now possible using local authentication or cloud access with the Basic subscription (free-tier). Running the CLI Script and configuration management will still require the Standard subscription (paid). For FortiGate Cloud v26.1.0 new features, refer to FortiGate Cloud v26.1.0 Release Notes.  To reset the admin password using the FortiGate Cloud CLI script option: Log in to FortiGate Cloud. Select CLI scripts -> Script List -> Manageable Scripts -> Create New. Enter the following CLI commands and press OK to save.
config system admin
  edit "admin"
    set accprofile <admin-profile>
    set password <enter-new-password>
  next
end
 If multi-vdom is enabled on the FortiGate, use the following script instead:
config global
  config system admin
    edit "admin"
      set accprofile <admin-profile>
      set password <enter-new-password>
    next
end
   To run the script, select Runnable Script -> Select the script created -> Run. Select the FortiGate. Note that only FortiGates with the FortiGate Cloud Standard subscription will show in the list. Select Immediate to run the script now or Scheduled to configure the time to run the script.
   Notes: Starting from FortiGate Cloud v26.1.0, devices with a FortiCare Premium license will have read/write access for remote management. Running automations and scripts will still require a FortiGate Cloud paid subscription. Refer to the Release Notes: New Features and Updates.    Related documents: |