An Azure Automation Runbook for Microsoft Intune that automatically updates the iOS compliance policy osMinimumVersion based on real device inventory. It queries devices via Microsoft Graph, derives a safe minimum iOS version (third newest when enough data, with a fallback), updates the policy if needed, and sends a detailed HTML notification. Emphasizes idempotency, robust error handling, and routine scheduling.
1 files scanned on Oct 25, 2026
The code is a legitimate Intune Graph API automation runbook. No malicious patterns detected. Primary security considerations center on secure handling of Azure Automation variables (client_secret), careful use of Graph beta endpoints (stability/permissions), and ensuring mail notifications do not leak sensitive data or reach unintended recipients.
Apple Compliance Version Updater automatically updates the osMinimumVersion in macOS and iOS/iPadOS Intune compliance policies based on the SOFA feed. It provides per-platform control, supports flexible version strategies (track major, pin to major, or track minor), and runs in Azure Automation with Managed Identity for zero-secret maintenance. Choose separate or unified runbooks for scalable, diagnostics-driven policy updates.
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.
APDP-DeviceAssociation-Service pre-associates Windows Autopilot device preparation devices with Intune. A client script on the installation media collects device-link data during OOBE and posts it to an Azure Automation webhook, where a runbook creates the association and can assign an APDP profile and send Teams notifications. An optional switch removes existing Autopilot registrations, so review the configuration before using it in production.
Autopilot Management is a Windows-based Intune utility that simplifies Autopilot device administration. It supports searching by serial number or device name, bulk updates to Group Tags, bulk or single deletions, and uploading hardware hashes. It can load and verify devices from CSV, backup data, and query with an optional cache for large environments. Authentication uses Azure Graph tools (MFA supported) for secure admin access.