On the server that is hosting AD FS for CRM I have some events logged that I don't quite know how to resolve:
AD FS 2.0
Event 159
The Federation Service encountered an error while writing to the following object in the configuration database.
Object Type: IssuanceScope
Name: Internal CRM Claims Relying Party
Metadata document URL: https://internalcrm.[domain].federation...
Exception Details: Each identifier for a relying party trust must be unique acreoss all relying party trusts in AD FS 2.0 configuration.
AD FS 2.0
Event 352
A SQL operation in the AD FS configuration database with connection string Data Source=\\.\pipe\mssql$microsoft##ssee\sql\query;Initial Catalog=AdfsConfiguration;Integrated Security=True failed.
A transport-level error has occurred when sending the request to the server. (provider: Named Pipes Provider, error:0 - No process is on the other end of the pipe).
AD FS 2.0
Event 344
There was an error doing synchronization. Synchronization of data from the primary federation server to a secondary federation server did not occur.
AD FS 2.0
Event 356
Failed to register notification to the SQL database with the conneciton string Data Source=\\.\pipe\mssql$microsoft##ssee\sql\query;Initial Catalog=AdfsConfiguration;Integrated Security=True for cache type 'ServiceStateSummary.' Changes to settings may not
take effect until the Federation Service restarts.
Cannot open database "AdfsConfiguration" requested by the login. The login failed. Login failed for user NT AUTHORITY\NETWORK SERVICE.