Query regarding AM-PPL

When the service is configured as AM-PPL, Service-start fails with an
error *Error
1053: The service did not respond to the start or control request in a
timely fashion.*
This issue is not seen if the runtime library is statically linked with /MT
option instead of dynamically linking with /MD option in the visual studio.

In the failure cases, event log shows following messages

  1. Code Integrity determined that a process ** attempted
    to load ucrtbased.dll that did not meet the Custom 3 / Antimalware
    signing level requirements
    2. Code Integrity determined that a process attempted
    to load msvcp140d.dll that did not meet the Custom 3 / Antimalware
    signing level requirements
    3. Code Integrity determined that a process * *attempted
    to load vcruntime140d.dll that did not meet the Custom 3 / Antimalware
    signing level requirements

    Is there a special compiler/linker setting for runtime-library while
    building an am-ppl service?

    regards,
    Madhusudhana