Domain joined device posture is not working for Azure AD joined windows autopilot machines

We are having azure ad joined autopilot machines and tried to implement the ZPA domain-joined posture (abc.onmicrosoft.com). But its is recognizing WORKGROUP instead of the actual domain. Maybe I am wrong to use domain-joined posture for the autopilot machine. then may I know how to exactly use device posture to identify ad joined auto pilot machines

This may help - ZPA Posture Check - Azure AD Joined