This article describes that when authorizing the FortiSwitch from FortiManager it can show the error ‘FortiCloud registration Failed’.
Scope
FortiManager, FortiGate, and FortiCloud.
Solution
The registration-related information is requested, returned between FortiGate and FortiGuard, and then monitored by FortiGate.
So there might be an issue between FortiGate and FortiGuard, making the FortiGate fail to fetch information.
To fix the issue, from the FortiGate side, it is possible to run the below command:
config system fortiguard set fortiguard-anycast disable // set fortiguard fortinet end
After running the command, register from FortiManager and FortiGate.
If it still fails, ensure the FortiManager can run FortiGuard to validate the FortiSwitch Serial Number.
exec ping fds1.fortinet.com exe ping service.fortiguard.net exe ping update.fortiguard.net exe ping support.fortinet.com