Technical Tip: FortiManager fails to retrieve global scope object from FortiGate
Description
This article describes the situation where FortiManager is unable to retrieve FortiGate configuration successfully due to objects of global scope existing on the FortiGate.
Scope
FortiManager 7.0 or earlier.
Solution
Try to add FortiGate for the first time into FortiManager and 'datasrc invalid error' appears.

Even after trying to retrieve the configuration, the failure will appear.

Here there is a Custom global scope object called 'g-AV'on the FortiGate that is been used on VDOM level firewall policy and security profiles.
FortiManager running FortiManager 7.0 or earlier does not support custom global scope objects being used on the VDOM level.
Use only VDOM-level objects on policy and security profiles.
Note:
FortiManager, however, supports default global objects that come along with FortiGate like 'g_Default'.
FortiManager running FortiManager 7.0 or earlier does not support custom global scope objects being used on the VDOM level.
Use only VDOM-level objects on policy and security profiles.
Note:
FortiManager, however, supports default global objects that come along with FortiGate like 'g_Default'.