Windows 11 OOBE rejects Google Workspace account during Hexnode enrollmentSolved

Participant
Discussion
1 day ago Aug 03, 2026

I’m trying to enroll a Windows 11 device into Hexnode. During OOBE, I selected the Work or School account option and tried signing in with a Google Workspace account, but Windows throws an invalid_client error.

It looks like Windows is expecting a Microsoft-managed identity at that stage. Is there a way to enroll the device using Google Workspace credentials instead? Ideally, I’d also like the Hexnode Agent installation and enrollment to be as automatic as possible so the end user does not have to manually download and run the installer.

Replies (2)

Marked SolutionPending Review
Hexnode Expert
1 day ago Aug 03, 2026
Marked SolutionPending Review

Hey @benjay,

This behavior is caused by the Windows OOBE Work or School account flow, not by Hexnode.

During Windows 11 OOBE, the Work or School sign-in option expects a Microsoft Entra ID identity. If the account is from Google Workspace and does not have a matching Microsoft-managed identity/license, Microsoft Entra ID can reject the sign-in and return an invalid_client error.

For Google Workspace-based enrollment, avoid using the Windows OOBE Work or School cloud sign-in prompt. You can use either of these approaches:

Option 1: Manual enrollment after creating a local account

  1. At OOBE, disconnect the device from the internet or use a dummy blocked email/password to force Windows into local account creation.
  2. Complete OOBE with a local offline account.
  3. Reconnect the device to the internet after reaching the Windows desktop.
  4. Open the Hexnode enrollment URL in a browser.
  5. Download and run the Hexnode Agent installer.
  6. In the Hexnode authentication window, change the authentication domain from Local to the configured Google Workspace domain.
  7. Sign in with the user’s Google Workspace credentials and complete enrollment.

Option 2: Automated enrollment using a provisioning package

For a more automated deployment, use a Windows Provisioning Package (.ppkg) with Hexnode Open Enrollment. This lets you preconfigure the enrollment flow and reduce end-user action during setup.

If the goal is minimal user interaction, the provisioning package method is the recommended approach. For more details, refer to our document on “How to enroll Windows devices using provisioning package files?“.

Best Regards,
Isabel Lora
Hexnode UEM

Marked SolutionPending Review
Participant
23 hours ago Aug 03, 2026
Marked SolutionPending Review

Thanks @isabel_lora! Let me try these out and see how it goes. Appreciate the help!

Save