Log output from exchange and Lync powershell calls
The adapter uses a remote powershell session to communicate with Exchange and Lync servers.
The code runs as a pair COM servers in the .NET environment. As such they do not have access to the adapter logging functions. However, there are messages that are output to the console. In order to see these log messages, you must run the adapter in console mode. This is done by running the adapter directly from the command line and specifying console as a command line option. This causes all of the adapter logging as well as any output from the Exchange and Lync modules to be output to the console. To capture the logging to a file, simply redirect the output of the adapter to a file. For example:
>ADAgent.exe -console > adagent.log
Note: The Active Directory Adapter only updates the
msRTCSIP-PrimaryUserAddress
(SIP Address) attribute if the account is enabled for
Lync. If the account is not Lync-enabled, the SIP Address cannot be provisioned. To provision the
SIP Address for AD accounts, regardless of whether the account is Lync-enabled, you can configure
msRTCSIP-PrimaryUserAddress
as an extended attribute in the Active Directory Adapter.