I just installed the AD FS role on my DC using the Windows Internal Database. All seemed to be fine after I set everything up, however, once I restarted my DC, when attempting to load the AD FS manager, I get the error:
An error occurred during an attempt to access the AD FS configuration database: Error message: ADMIN0017: An exception occurred while connecting to the configuration service. The configuration service URL 'net.tcp://localhost:1500/policy' may be incorrect or the AD FS 2.0 Windows Service is not running.
When checking the services, I notice the AD FS service is in fact stopped. When attempting to start this manually, I get the error:
Windows could not start the Active Directory Federation Services service on Local Computer. Error 1064: An exception occurred in the service when handling the control request.
I'm not entirely sure what to do here. I've been reading it may have to do with the service account used to run the service, but I've made sure the account is in good order (unlocked, correct password, etc.). I've also read you have to explicitly add this service account to the list of accounts allowed to log on as a service in the relevant GPO, which I have.
Any help is greatly appreciated.