How to remove old accounts from Device Compliance

I am trying to find out how to remove and old account from showing up in the Device Compliance, as this is causing the device to be marked as non-compliant.
This account no longer exists in AAD so we can't just log in to it and run compliance.

Hoping there is a PS command or something you can run to remove this profile from compliance.