@Raviprasath Sakthivel, Thanks for posting in Q&A.
For your issue, please check the following.
1.You need to change this setting from the default setting, Compliant to Not Compliant, to make sure that all of your devices need to have a compliance policy assigned. Otherwise, you could end up having a device that does not meet your company its compliance requirements but could still access the Microsoft 365 Data.
2.When creating additional compliance policies, make sure you are targeting users and not devices.
3.There may be multiple users on the computer, please be sure just one account left on this computer.
4.Try to sync with Intune to check whether the device can be compliant.
Please check above information, if there is 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.