Enable Microsoft Entra ID request logging

To enable tracing of requests sent to Microsoft Entra ID:

  1. Navigate to the folder where Adaxes service is installed. By default, the folder is C:\Program Files\Softerra\Adaxes 3\Service.

  2. Open the Softerra.Adaxes.Service.exe.config file with a text editor.

  3. Locate the configuration\softerra.adaxes\managedDomainSettings\azureAD\trace XML element.

  4. Set the enabled parameter to true and specify the path to the file that will store log records in the outputFilePath parameter. For example:

            <managedDomainSettings ...>
                <azureAD ...>
                    <trace enabled="true" outputFilePath="C:\logs\azuread.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.

  5. Save the file.

  6. Restart the Adaxes service.

Since request logging is quite intensive, the file can grow very quickly. Permanent logging of Microsoft Entra ID requests consumes resources and affects performance. Therefore, it is recommended to enable the logging only when it is needed.