I have a two node failover cluster running SQL Server 2016 (Standard) using Availability Groups (DB1 and DB2). I turned DB2 off as a cost saving measure for COVID by switching all the roles to DB1, removing all the databases from the Availability Groups on DB1 and then turning DB2 off.
Three years later I brought DB2 back online and that seemed to have caused DB1 to fail. I managed to bring it back online by evicting it and re-adding it but there are still roles that are not working that I can't get back online. The IP address for each role is online but the Network Name resource is in the failed state.
If I try to bring it online or try to use the repair function to fix it I get the error message "The user name or password is incorrect". The cluster events shows an error message saying that it couldn't locate a writeable domain controller with the reason being "The user name or password is incorrect".
I did find an article about this needing a hotfix applying but that was for Windows Server 2012 and this is Windows Server 2016. Other articles have said to try flushing the DNS but that hasn't worked.
I need to set up another availability group and that also fails to come online with the same error message about finding a writeable domain controller and it fails to create the computer in active directory or the domain name in the DNS.
If I connect to DB1 and start Failover Cluster Manager it isn't connected to the failover cluster and I get the error message "Access is denied" when I try.
These are not the domain controllers and I am logged into the servers using a domain admin account.