@Boopathi S , Based on my research, for the error code 80180005, some issue occurs when the computer name prefix is not configured correctly.Please check on this. We can see more details in the following link:
https://www.moderndeployment.com/intune-hybrid-domain-join-error-80180005/
Note: Non-Microsoft link, just for the reference.
Hope it can help.
If the response is helpful, please click "Accept Answer" and upvote it.
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.