The earth fault detection circuitry, on most panels, requires the mains supply earth to be connected for the monitoring to work. An engineer can temporarily disconnect it for fault-finding purposes. If the earth fault remains when the mains supply earth is disconnected, then there is a higher liklihood that the fault is with the panel monitoring circuit rather than on the outgoing circuits.
However the fault is more likely to be on an outgoing circuits. Water leaks into equipment or someone banging a nail or screwing a screw into a cable somewhere are common causes for sudden earth fault indication.
The first stage of outgoing circuit fault-finding is to remove the earths from outgoing circuits one at a time (until the faulty circuit is detected by the fault warning going away) to find the affected circuit. From there it is a matter of using a resistance measuring meter and breaking down the circuit(s) until the earth fault is located.