FortiGate Cloud
FortiGate Cloud provides cloud-based management for FortiGate devices.
ibituya
Staff
Staff
Article Id 328835
Description

This article describes how to reset the FortiGate admin password from FortiGate Cloud.

Scope FortiGate Cloud.
Solution

FortiGate requires a FortiGate Cloud paid subscription to perform configuration changes from FortiGate Cloud, including resetting the admin password. The configuration management feature is disabled on FortiGate Cloud, which is activated with only a free account (no subscription).

 

Note:

To reset the admin password for a FortiGate device, it will be necessary to have a FortiGate Cloud paid subscription; otherwise, a 'read only' access will be granted without any privileges, as shown in the image below.

 License.png

 

To reset the admin password for a FortiGate with a FortiGate Cloud paid subscription, follow these steps:

  1. From the FortiGate Cloud Assets List View page, select the FortiGate serial number and go to Device View.

 

device-view-subscribed.PNG

 

  1. Go to Management -> Config -> System -> Administrators and edit the admin account that requires the password reset.

 

system-admin.PNG

 

  1. Select Change to reset the admin password. Save the changes and select Deploy.

 

change-password.PNG

 

  1. Review the deployment log for the changes that will be deployed to the FortiGate.

 

deployment-log.PNG

 

  1. To deploy the change immediately to the FortiGate, check the Immediately option.

 

2.PNG

 

  1. A confirmation window will be shown once the deployment is completed successfully. Attempt to access the FortiGate again using the updated password.

 

1.PNG

 

Note:

In-cloud FortiGate configuration editing and deployment will be discontinued in Q3 2024. Use the Remote Access or Script option to manage the FortiGate.

 

To reset the admin password using the Script option, follow these steps: 

  1. From the FortiGate Cloud page, go to Management -> Script and select Add. 
  2. Once the Add Script prompt appears, enter the CLI script to either edit the existing admin account or create a new admin account.
  3. Add the following script to reset the admin password:

     

 

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

 

  1. From the FortiGate Cloud Assets List View page, select the FortiGate serial number and go to Device View. 
  2. Go to Management -> Script and select the Schedule option.
  3. It is possible to execute the script immediately by selecting Run Now or setting a schedule to run the script.

 

Note:

The script needs to be configured under Global -> Management, and run the script after selecting the required Device.

 

Related documents:

Technical Tip: Recover access to FortiGate via FortiCloud

FortiGate Cloud 24.3.0 Administration Guide Introduction