Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upload-WindowsAutopilotDeviceInfo.ps1 seems to no longer work #71

Open
bezik46 opened this issue Nov 15, 2023 · 1 comment
Open

Upload-WindowsAutopilotDeviceInfo.ps1 seems to no longer work #71

bezik46 opened this issue Nov 15, 2023 · 1 comment

Comments

@bezik46
Copy link

bezik46 commented Nov 15, 2023

It runs, it does NOT error, but device never appears in Autopilot and local output is:

@odata.context            : https://graph.microsoft.com/beta/$metadata#deviceManagement/importedWindowsAutopilotDeviceI
                            dentities/$entity
id                        : dc40a435-c6ca-41a6-812c-2f3b0f477bed
groupTag                  :
serialNumber              : 5P9KMX3
productKey                : dc40a435-c6ca-41a6-812c-2f3b0f477bed
importId                  : dc40a435-c6ca-41a6-812c-2f3b0f477bed
hardwareIdentifier        :
assignedUserPrincipalName :
state                     : @{deviceImportStatus=unknown; deviceRegistrationId=; deviceErrorCode=0; deviceErrorName=}```
@bezik46
Copy link
Author

bezik46 commented Nov 15, 2023

It turned out that swapped motherboard was Dell refurb & ZtdDeviceAssignedToOtherTenant

But I could only see the "error" in https://learn.microsoft.com/en-us/autopilot/add-devices#powershell

[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
PowerShell.exe -ExecutionPolicy Bypass
Install-Script -name Get-WindowsAutopilotInfo -Force
Set-ExecutionPolicy -Scope Process -ExecutionPolicy RemoteSigned
Get-WindowsAutopilotInfo -Online

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant