Ensuring devices meet organizational security and compliance policies
Agree to Vishal, no compliance policy is assigned to user which is throwing this error.
Microsoft Intune Admin center > devices> compliance> check if any policy is assigned to this user., if not assign the relevant one.