Import-AutopilotDevice
1.1.20260914.3
The script imports without a confirmation prompt and polls every 10 seconds until Intune reports the import and Entra device attribute processing as comp
The script imports without a confirmation prompt and polls every 10 seconds until Intune reports the import and Entra device attribute processing as complete or the import reaches an error state. Use -Verbose for additional configuration, authentication, request, and polling details.
The script uses Az.Accounts only to acquire the signed-in user's API token. If the required commands are unavailable, it installs Az.Accounts from the PowerShell Gallery for the current user. It does not load or require AutopilotImport.Client.
Installation Options
Owners
Package Details
Author(s)
- andreas.lucas@microsoft.com
Tags
WindowsAutopilot Intune Entra Azure REST HardwareHash
Functions
Resolve-AutoPilotApplicationUrl Get-AutoPilotRuntimeConfiguration ConvertTo-AutoPilotDeviceRecord Get-AutoPilotCsvDevice Get-LocalAutoPilotDevice Install-AutoPilotAzAccounts ConvertFrom-AutoPilotSecureString Get-AutoPilotAccessToken Get-AutoPilotRestErrorMessage Write-AutoPilotImportStatus
Dependencies
This script has no dependencies.
Release Notes
Standalone REST client with CSV and local hardware hash import, PowerShell 5.1
compatibility, automatic Az.Accounts installation, and status polling.
FileList
- Import-AutopilotDevice.nuspec
- Import-AutopilotDevice.ps1
Version History
| Version | Downloads | Last updated |
|---|---|---|
| 1.1.20260914.3 (current version) | 6 | 9/14/2026 |