Sign-in automatically after Hash upload to Intune?

Vorbrodt IT GmbH 0 Reputation points
2023-01-18T08:42:28.5633333+00:00

Dear all

I' am re-deploying existing Windows clients to Intune / Autopilot.

I need to automate this process entirely.

I install the OS from scratch and use (in the OOBE) the get-windowsautopilotinfo -online .... Powershell script to upload the hash to Intune.

How can i automatically sign-in after the reboot with a work or school account into Office 365 to get the client to complete the deployment process (Device preparation, Device Setup, ....)

Thanks for any help.

DV.

Zurich, Switzerland

Windows Autopilot
Windows Autopilot
A collection of Microsoft technologies used to set up and pre-configure new devices and to reset, repurpose, and recover devices.
501 questions
Microsoft Intune
Microsoft Intune
A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.
5,554 questions
{count} votes

4 answers

Sort by: Most helpful
  1. Crystal-MSFT 51,896 Reputation points Microsoft Vendor
    2023-01-19T03:14:13.0433333+00:00

    @Vorbrodt IT GmbH, Thanks for posting in Q&A.

    Based as I know, there are some functions for Windows Autopilot sign -in experience returned. Like Pre-populate the Azure Active Directory (Azure AD) User Principal Name (UPN) under the pre-provisioning landing page and Azure AD sign in page. More details in the following link:

    https://techcommunity.microsoft.com/t5/intune-customer-success/return-of-key-functionality-for-windows-autopilot-sign-in-and/ba-p/3583130

    But for your request to automatically sign in user account, based on my research, I didn't find this feature. You can feedback to Intune uservoice to see if we can get this in the future:

    https://feedbackportal.microsoft.com/feedback/forum/ef1d6d38-fd1b-ec11-b6e7-0022481f8472

    Thanks for the understanding.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

  2. Vorbrodt IT GmbH 0 Reputation points
    2023-01-19T11:10:28.7266667+00:00

    Dear all

    This is sad news.

    After the reboot, OOBE executes CloudExperienceHostBroker.exe.

    I was wondering whether I could manipulate AutopilotDDSZTDFile.json to sign-in automatically.

    Anyone tried this?

    Thank you.

    Greetings from Zurich, Switzerland.

    DV


  3. Pavel yannara Mirochnitchenko 12,781 Reputation points MVP
    2023-01-19T11:45:30.29+00:00

    Why not using autopilot pre-provision (ex. whiteglove). After hash you reboot it once, hit win key 5 times and let it do its work.

    0 comments No comments

  4. Vorbrodt IT GmbH 0 Reputation points
    2023-01-25T22:34:04.37+00:00

    Dear Pavel

    Thank you for this excellent idea.

    However I face 2 problems:

    1. Autopilot pre-provisioning (White Glove) does not support (HyperV) VMs (error is: TPM attestation timed out).
    2. How can I automate pressing 5 times the Windows key during OOBE?

    Thanks again for any hints.

    Greetings from Zurich, Switzerland.

    DV

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.