The topic is about the Event ID 364 AD FS 2.0…..
The follow error is occurring:
Encountered error during federation passive request.
System.ServiceModel.Security.MessageSecurityException: An unsecured or incorrectly secured fault was received from the other party. See the inner FaultException for the fault code and detail. —>
System.ServiceModel.FaultException: An error occurred when verifying security for the message.
— End of inner exception stack trace —
In my case, the automatic adjust clock for Daylight Saving Time was unchecked.
After check it, sync the time with internet clock and restart the AD FS Service, the error was fixed. In some cases, you will need to restart the server.