FIM Troubleshooting: FIM Service Polling the Exchange Web Service (EWS) fills the Application Event Log
Problem Statement
The Exchange Server is down, or the connection to the Exchange Server is down between the machine running the FIM Service and the Exchange Server.
The FIM Service polls for the Exchange Web Service (EWS) every minute, and when it cannot reach the Exchange Web Service (EWS) then it dumps an error into the Application Event Log. It is very possible that the Application Event Log could fill up with these errors.
Goal
The goal here is to control how often the FIM Service pings/polls the Exchange Web Service (EWS).
We can control this via a setting in the FIM Service Configuration File.
Resolution
Add the following line to the FIM Service Configuration File (Microsoft.ResourceManagement.Service.Exe.Config)
/configuration/ appSettings/ add[@key='exchangeListenerInterval']
Resolution Steps
Navigate to the installation path for the FIM Service
(%programfiles%\Microsoft Forefront Identity Manager\2010\Service)Locate and Edit the FIM Service Configuration File (Microsoft.ResourceManagement.Service.Exe.Config)
Locate the <appSettings> section
Add a new item in the <appSettings> section that reads
<add key="exchangeListenerInterval" value = "30" />
Save the FIM Service Configuration File
In the Services MMC, locate the Forefront Identity Manager Service and restart it.