Actions129
- Calendar Permission Actions
- CIPP Administration Actions
- Execute API Client (GET)
- Execute Auto Backup
- Execute Extension Mapping (GET)
- Execute Extension Mapping (POST)
- Execute Extension Sync
- Execute Extensions Config
- Execute Password Config (POST)
- Execute Restore Backup
- Execute Run Backup
- List Custom Roles
- List Extension Sync
- List Logs
- List Scheduled Items
- Remove Scheduled Item
- Execute API Client (POST)
- Execute Extension Test
- Execute Password Config (GET)
- List Backups
- List Function Parameters
- Group Actions
- Intune Actions
- Add MSP App
- Add Office App
- Add Policy
- Add Store App
- Assign App
- Assign Autopilot Device
- Device Action
- Get Recovery Key
- List Applications
- List Application Queue
- List Autopilot Config
- List Devices
- List Intune Scripts
- List Intune Templates
- Remove Autopilot Device
- Remove Policy
- Remove Queued App
- Add Choco App
- Add WinGet App
- Assign Policy
- Get Local Admin Password
- List Autopilot Devices
- List Intune Policies
- Remove App
- Remove Intune Script
- Sync Autopilot Devices
- License Actions
- Security & Compliance Actions
- Teams & SharePoint Actions
- Tenant Actions
- Add Alert
- Clear Tenant Cache
- Execute CA Exclusion
- Execute Named Location
- Get Tenant
- List Alerts Queue
- List Azure AD Connect Status
- List Conditional Access Policies
- List Named Locations
- List Shared Mailbox Statistics
- List Standards
- List Tenants
- Remove Standard Template
- Add Named Location
- Edit Tenant
- Execute Standards Run
- List Audit Logs
- List CSP Licenses
- List Roles
- List Standard Templates
- Tool Actions
- User Actions
- Add User
- Exec Restore Deleted User
- List User
- List User Conditional Access Policies
- List User Groups
- Clear Immutable ID
- Create Temporary Access Password
- Delete User Device
- Dismiss Risky User
- List Deleted Items
- List Inactive Accounts
- List Sign-Ins
- Remove User
- Reset MFA
- Restore Deleted Item
- Revoke Sessions
- Set Email Forward
- Set Per-User MFA
- List All Users
- List User Counts
- List User Devices
- Convert Mailbox
- Disable User
- Enable Archive
- List MFA Users
- Offboard User
- Reset Password
- Send MFA Push
- Set Out of Office
Overview
This node operation assigns an Autopilot device in Microsoft Intune to a specified user within a tenant. It is useful for IT administrators managing device provisioning and user assignments in an enterprise environment using Microsoft Intune's Autopilot service. For example, it can automate the process of linking a new device's serial number to a user account for streamlined device setup and management.
Use Case Examples
- Assign a new Autopilot device to a user by providing the device identifier, serial number, and user principal name within the tenant's domain.
- Automate bulk device assignments by batching multiple device-user assignments with controlled request intervals.
Properties
| Name | Meaning |
|---|---|
| Tenant Filter | Specifies the default .onmicrosoft.com tenant domain name to scope the operation. |
| Device | The unique identifier of the device to be assigned. |
| Serial Number | The serial number of the device to be assigned. |
| User | The user principal name (UPN) to whom the device will be assigned. |
| Request Options | Settings to control request behavior such as batching, SSL certificate validation, proxy usage, and timeout duration. |
Output
JSON
assignedDeviceId- Identifier of the assigned Autopilot device.status- Status of the assignment operation.message- Additional information or error messages related to the assignment.
Dependencies
- Requires Microsoft Intune API access with appropriate authentication credentials (e.g., OAuth2 token).
Troubleshooting
- Ensure the tenant filter matches the correct .onmicrosoft.com domain to avoid authorization errors.
- Verify device identifier and serial number are correct and exist in the Intune environment.
- Check user principal name is valid and has permissions to be assigned devices.
- If SSL errors occur, consider enabling 'Ignore SSL Issues' option or verify SSL certificates.
- Proxy settings must be correctly configured if used, including authentication if required.
- Timeouts can occur if the server is slow; adjust the timeout setting accordingly.
Links
- Microsoft Intune Autopilot Documentation - Official Microsoft documentation for Autopilot device management in Intune.
- Microsoft Graph API for Autopilot Device Identity - API reference for managing Autopilot devices via Microsoft Graph API.