Device failing on autopilot intune

lalajee 1,811 Reputation points
2023-05-05T15:37:31.12+00:00

HI,

I'm try to build machine using Autopilot but its keep failing with error code 8007002

User's image

How it setup

  • Build new 2022 Server Download and install Intune Connection App (This is showing as Active in Autopilot). Assign computer OBJ permission for this server on OU which will have these machine listed as Full control for Computer OBJ

User's image

  • Turn created device group "(device.devicePhysicalIDs -any _ -contains "[ZTDId]")"
  • Created new deployment profiles and assign to above group

User's image

  • Create new "Configuration profiles" Domain Join and assign to above group

User's image

But its keep failing

Also

Device does not have any license assign to it.

The account which i'm using to login has E3 License

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.
407 questions
Microsoft Intune
Microsoft Intune
A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.
4,327 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Crystal-MSFT 42,956 Reputation points Microsoft Vendor
    2023-05-08T02:32:33.2833333+00:00

    @lalajee, Thanks for posting in Q&A. Based as I know, this error can occur in a Hybrid Azure AD join scenario if the computer name prefix was incorrectly configured in the Domain Join Profile. For the Hybrid Domain Join you currently cannot use any variables like %SERIAL% or %RAND%, but only a simple Prefix such as TEST-, HAADJ- or ABC- with or without a dash. If you attempt to use a variable, you will get “Server Error Code 80070002”. Please confirm if the Computer name prefix is set correctly.

    Meanwhile, the error code 0x80070002 can also occur if you have a space on the domain name. Please check this to see if we have the same issue.

    Please try the above suggestions and if there's any update, feel free to let us know.


    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.