Hi Muhammad,
When someone is facing the "Set up your device to get access" error along with AADSTS90014, it typically indicates that the user is encountering a device compliance or device registration issue when trying to authenticate via Entra ID. The AADSTS90014 error, specifically, relates to an issue with authentication due to a missing or invalid client secret or certificate (and it well could be the missing compliance requirements), and the "Set up your device to get access" message suggests that there are device requirements (such as being Azure AD-joined or Intune compliant) that the user hasn't met.
If you have Conditional Access policies in place that require devices to be Azure AD-joined or compliant (via Intune) and are trying to access Google services, the AADSTS90014 error may appear if the device doesn't meet those conditions.
I would suggest the following:
- Verify Conditional Access policies that might require device compliance.
- Ensure the device is Azure AD-joined or registered.
- Check Intune compliance if your organization uses Intune for device management.
- Update the client secret or certificate if expired.
- Ensure Multi-Factor Authentication (MFA) is configured if needed.
- Reboot or reset the device registration if needed.
- Inspect the user's profile and permissions to ensure they have the correct setup.
Good luck. Cheers