@Carlos Santillan, Thanks for posting in Q&A. From your description, it seems you are doing Windows Autopilot Hybrid Azure AD joined and receiving error 80070774.
Based on my experience, the error code may occur when the device can't connect the on-prem AD. Please review the Offline Domain join profile and confirmed the target OU would need to provide full OU path for the connector to add the device into target OU.
However, if it is correct, you can follow the troubleshooting steps in the link below to get more help:
https://oofhours.com/2020/07/19/troubleshooting-windows-autopilot-hybrid-azure-ad-join/
Note: Non-Microsoft link, just for the reference.
Hope the above information can help.
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.