FortiManager
FortiManager supports network operations use cases for centralized management, best practices compliance, and workflow automation to provide better protection against breaches.
jasonhong
Staff & Editor
Staff & Editor
Article Id 380708
Description

This article describes how to troubleshoot the issue when the user is unable to authorize FortiGate to FortiManager due to an Admin Login Failed error.

Scope

FortiManager.

Solution
  1. When a user tries to authorize the FortiGate into FortiManager, the process is stuck at 5% and does not authorize fully.

 

Authorization.png

 

  1. The user will be able to see a message alert on the local FortiGate which states the 'Admin login failed' error during the FortiManager authorization.

 

The following critical firewall event was detected: Admin login failed.

date=2024-01-22 time=12:22:23 devname=FW-02 devid=FGT60FXXXXXXX eventtime=1721718615127162269 tz="+0700" logid="0100032002" type="event" subtype="system" level="alert" vd="root" logdesc="Admin login failed" sn="0" user="admin" ui="fgfm(192.168.X.X)" action="login" status="failed" srcip=192.168.X.X dstip=192.168.X.X reason="passwd_invalid" msg="Administrator admin login failed from fgfm(192.168.X.X) because of invalid password

 

  1. Since FortiManager authorization from FortiGate will always use the default 'admin' admin account, the user will have to use the below CLI command in the local FortiGate to input the default 'admin' account’s credentials when authorizing FortiManager.

 

FGT# execute central-mgmt register-device <fmg_serialnumber> <admin_password>

 

  1. If the FortiGate was previously added to FortiManager before, use the below CLI command in FortiManager to update the default 'admin' account’s credentials.

 

FMG# execute device replace pw <device_name> <admin_password>

Contributors