When Dynamics CRM is setup with Ping Identity authentication system I get error: "An error occurred when verifying security for the message".
Modify your PingFederate configuration to include the parameter -Dorg.apache.xml.security.ignoreLineBreaks=true. For further information check the documentation page here.