@Murad Guluzade, Thanks for posting in Q&A. To connect your Windows 10/11 devices to both the on-premises Active Directory (AD) and Entra ID (formerly Azure AD) simultaneously, you need to configure Microsoft Entra Hybrid Join.
https://learn.microsoft.com/en-us/entra/identity/devices/how-to-hybrid-join
To enroll such device into Intune, please choose GPO enrollment which describe in the following link:
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.