The Forefront Identity Manager Service cannot connect with Exchange because required configuration is missing. The mailServer ...

The Forefront Identity Manager Service cannot connect with Exchange because required configuration is missing.

The mailServer configuration setting in the Forefront Identity Manager Service application configuration file is missing or not a valid URI.

Ensure an XML Node with this XPath exists and has inner text that is a valid URI representing the Exchange server:
/configuration/appSettings/add[@key='mailServer']

For example,

;