This post will provide valuable detailed information about troubleshooting of Azure AD Conditional Access "Device State: Unregistered" error.
Tag: dsregcmd
Azure AD device registration error codes
This post contains info about the device registration flow, troubleshooting tips and constantly updated list of errors and their potential solutions.