If you forget the password and don't have any other active password for the device, login is not possible and can't download the configuration backup. If the device is managed by FortiManager, you can get the configuration from Fortimanager.
If you forget the IP, please check any connected swicth/PC for ARP table or GW, there are very high chances the firewall is GW and you can get the IP.
- Have you found a solution? Then give your helper a "Kudos" and mark the solution.
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.