The Federation Service configuration could not be loaded correctly from the AD FS configuration database.
Additional Data
Error:
ADMIN0012: OperationFault
There was an error in enabling endpoints of Federation Service. Fix configuration errors using PowerShell cmdlets and restart the Federation Service.
Additional Data
Exception details:
System.ServiceModel.FaultException`1[Microsoft.IdentityServer.Protocols.PolicyStore.OperationFault]: ADMIN0012: OperationFault (Fault Detail is equal to Microsoft.IdentityServer.Protocols.PolicyStore.OperationFault).
A SQL operation in the AD FS configuration database with connection string Data Source=np:\.\pipe\microsoft##wid\tsql\query;Initial Catalog=AdfsConfiguration;Integrated Security=True failed.
Additional Data
Exception details:
Cannot open database “AdfsConfiguration” requested by the login. The login failed.
Login failed for user ‘\’.
The Active Directory Federation Services service terminated with the following error:
An exception occurred in the service when handling the control request.
Solution
Restarted the “Windows Internal Database” service
Then you can start Service