Enable Microsoft 365 request logging
To enable logging of requests sent to Microsoft 365:
Navigate to the folder where Adaxes service is installed. By default, the folder is C:\Program Files\Softerra\Adaxes 3\Service.
Open the Softerra.Adaxes.Service.exe.config file with a text editor.
Locate the configuration\softerra.adaxes\office365\trace XML element.
Set the enabled parameter to TRUE and specify the path to the file that will store log records in the outputFilePath parameter. For example:
<configuration> ... <softerra.adaxes> ... <office365 ...> <trace enabled="true" outputFilePath="C:\logs\m365.trace.txt" />
If you specify only the file name in the outputFilePath parameter, the log file will be created in the folder where the Softerra.Adaxes.Service.exe.config file is located.
Save the file.
Restart the Adaxes service.
Since request logging is quite intensive, the file can grow very quickly. Permanent logging of Microsoft 365 requests consumes resources and affects performance. Therefore, it is recommended to enable the logging only when it is needed.