The Simple Object Access Protocol (SOAP) client object for communicating with the Federation Service could not be created ...

The Simple Object Access Protocol (SOAP) client object for communicating with the Federation Service could not be created because of an invalid operation. 
FS URL: %1 
Client certificate thumbprint: %2 

This condition can occur when the path that is specified by the TEMP environment variable is not writable by the application pool identity. The TEMP path is used by the .NET Framework to create a temporary assembly that is used for SOAP communication. 

User Action 
Grant the application pool identity access to the path that is specified in the TEMP environment variable. 

Additional Data 
Exception information:
%3