Skip to main content

Intune On-Premises Exchange Connector Log

·157 words·1 min
Ilan Lanz
Author
Ilan Lanz
I’m primarily focused on Microsoft related services and software, with a wide foundation around IT infrastructures, security, automation and troubleshooting.
Just a quick note for everyone missing the log files location of Microsoft Intune On-Premises Exchange Connector, seems like there is no documentation on where those files exists. and they are very useful for debugging this component.

This info came from a support case I’ve had with the on-premises connector :)

Anyhow:

  • Log files are here - C:\ProgramData\Microsoft\Windows Intune Exchange Connector\
  • If you wish to enable verbose tracing for more advanced debugging do the following:
  1. Open the Exchange Connector tracing configuration file. The file is located at: %ProgramData%\Microsoft\Windows Intune Exchange Connector\TracingConfiguration.xml
  2. Locate the TraceSourceLine with the following key: OnPremisesExchangeConnectorService
  3. Change the SourceLevel node value from Warning ActivityTracing (the default) to Verbose ActivityTracing.
_<TraceSourceLine>_       _<Key xsi:type="xsd:string">OnPremisesExchangeConnectorService</Key>_       _<Value xsi:type="TraceSource">_         _<SourceLevel>All</SourceLevel>_         _<Listeners>_           _<Listener>_             _<ListenerType>CircularTraceListener</ListenerType>_             _<SourceLevel>**Verbose ActivityTracing**</SourceLevel>_             _<FileSizeQuotaInBytes>10000000</FileSizeQuotaInBytes>_             _<FileName>Microsoft\Windows Intune Exchange Connector\Logs\Connector.svclog</FileName>_             _<FileQuota>30</FileQuota>_           _</Listener>_         _</Listeners>_       _</Value>_     _</TraceSourceLine>_

It is important to note that the ActivityTracing setting should remain or be included with ANY value that is set for the setting.

enjoy