Hi @Kumaarrahul,
Welcome to Microsoft Q&A, and thank you for reaching out to us.
Based on your description, you attempted to add a DAG member to a newly created DAG but encountered the error: CreateCluster() failed with 0x42a. Please correct me if I misunderstood your scenario.
Please note that as a Microsoft Q&A moderator, I don’t have direct access to your server configuration. However, I’ll do my best to assist you using official documentation and guidance.
First, regarding the behavior you observed with the New-DatabaseAvailabilityGroup command: this is expected. The New-DatabaseAvailabilityGroup cmdlet only creates the DAG object in Active Directory and sets its properties (such as the name, witness server, and witness directory). It does not create the witness folder or share at this stage. As for the folder, the folder disappears after manual creation because Exchange enforces its own configuration during DAG setup.
About the error when running Add-DatabaseAvailabilityGroupServer and your question on whether pre-staging the CNO object is required: according to Microsoft documentation on DAG management, when you add the first mailbox server to a DAG, Exchange attempts to create a Windows Failover Cluster and a corresponding Cluster Name Object (CNO) in Active Directory.
If the account running the command does not have permission to create computer objects, this process will fail, and pre-staging the CNO becomes necessary.
To pre-stage the CNO, as I checked, you can follow the instructions provided in the official Microsoft article on pre-staging the CNO here.
Please note that this summary is based on insights gathered from community discussions and related threads. It may not fully capture the exact behavior in your environment.
To achieve your goal more effectively, I recommend posting your question on the Microsoft Tech Community forum. It’s an excellent platform for in-depth technical discussions and for connecting with professionals who have hands-on experience. They are best positioned to provide practical guidance and valuable insights on this topic.
I hope this helps resolve your issue. If you have any additional questions or need further clarification, please let me know. I’ll be happy to assist you further.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.