Intune Community Contributor
Bulk Add Devices to Entra Group is a PowerShell tool that adds devices to a Microsoft Entra ID group from a CSV or Excel file via Microsoft Graph. It accepts any identifier per row, auto-detects headers, and ranks candidates by last activity to select the most recently active device when duplicates exist. Includes duplicate handling, an exclusion group, dry-run reporting, an audit trail, and automatic installation of required modules for PowerShell 5.1 or 7.