logon script to automatically register entra joined devices in Autopilot?

Kamal Francis 0 Reputation points
2024-08-10T17:58:56.5266667+00:00

Once a device is auto enrolled in intune via entra join by user on company device I want to push a logon ps script using the -online switch to register that device with autopilot - Im interested in a passive automated solution for entra only environment.

Microsoft Security | Windows Autopilot
Windows for business | Windows Server | User experience | PowerShell
Microsoft Security | Intune | Other
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Rahul Jindal [MVP] 10,911 Reputation points MVP
    2024-08-10T19:52:35.9866667+00:00

    You can just assign an Autopilot profile and set the option ‘Convert all targeted devices to Autopilot’ to ‘Yes’. You don’t need to do anything else in my opinion.

    0 comments No comments

  2. Crystal-MSFT 53,986 Reputation points Microsoft External Staff
    2024-08-12T01:38:06.14+00:00

    @ITST, Thanks for posting in Q&A. Just as Rahul said, automatic registration can be enabled for a device by using the Convert all targeted devices to Autopilot setting in the Autopilot profile that is assigned to a group that the device is a member of. You can reset the enrolled device to trigger the Autopilot registration.

    https://learn.microsoft.com/en-us/autopilot/automatic-registration

    Hope the above information can help.


    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.


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.