Hi,
Thank you for posting in Microsoft Q&A forum.
Which user you are using when the error appears? Please check if the required RBAC permissions and other prerequisites are set for the user. Refer to the official article:
Windows Autopilot device preparation requirements
Thanks for your time. Have a nice day!
Best regards,
Simon
If the response is helpful, please click "Accept Answer" and upvote it.
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.