@Manish Kumar, Thanks for posting in Q&A. For your error, it seems the device is enrolled via Windows Autopilot user-driven Microsoft Entra hybrid join. If there's any misunderstanding, please let us know.
If yes, please check if we have followed the steps as below to configure.
https://learn.microsoft.com/en-us/autopilot/tutorial/user-driven/hybrid-azure-ad-join-workflow
For the error, it can be that the domain controller can’t be found or successfully reached because of connectivity issues. Or, the device has entered a state that can’t join the domain. Please follow the solutions in the following link to see if the issue can be fixed.
Note: Non-Microsoft link, just for the reference.
If there's any update, feel free to let us know.
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.