One of the common issue I and my team have encountered several times when we setup availability group listener in SQL Server as below
Msg 19471, Level 16, State 0, Line 2
The WSFC cluster could not bring the Network Name resource with DNS name ‘<DNS name>’ online. The DNS name may have been taken or have a conflict with existing name services, or the WSFC cluster service may not be running or may be inaccessible. Use a different DNS name to resolve name conflicts, or check the WSFC cluster log for more information.
Msg 19476, Level 16, State 4, Line 2
The attempt to create the network name and IP address for the listener failed. The WSFC service may not be running or may be inaccessible in its current state, or the values provided for the network name and IP address may be incorrect. Check the state of the WSFC cluster and validate the network name and IP address with the network administrator.
As per the documentation cluster object name should have “Create computer objects” and “Read all properties” permissions within Active Directory.
We have requested the Active directory team to grant “Create Computer Objects” permissions for windows cluster and listener within Active Directory.
After granting the permission, we were able to create availability groups listener from SQL Server.
Hope you enjoyed the post!
LinkedIn: LinkedIn Profile