If a Windows 10/11 device was already joined to Azure AD or Entra ID before the enablement of the device automatic enrollment, then the device has to be manually enrolled by one of the following methods:
This is a straightforward option for smaller deployments or scenarios where users or IT administrators can enroll devices individually.
Intune Company Portal is the app that lets you, as an employee or student in your organization, securely access your apps, data and resources.
Once you have installed the Company Portal app on a PC and signed into the app using your Entra ID account, the PC will be also enrolled in Intune.
Please refer to the official guide below.
https://learn.microsoft.com/en-us/mem/intune/user-help/sign-in-to-the-company-portal