How jseerden/intunebackupandrestore works
IntuneBackupAndRestore is a PowerShell module for querying Microsoft Graph and backing up Intune configuration to JSON files, with cross-tenant restore and backup comparison capabilities. The documented full workflow uses separate restore commands for configurations and assignments; individual resource handlers cover the documented configuration categories. No source excerpts were provided, so relationships beyond those explicitly described in the README are omitted.
Main entry points: Start-IntuneBackup.ps1 Backup command · Start-IntuneRestoreConfig.ps1 Restore configs · Start-IntuneRestoreAssignments.ps1 Restore assignments · Compare-IntuneBackupFile.ps1 Compare files
Components 14
Backup and restore
- Backup command
IntuneBackupAndRestore/Public/Start-IntuneBackup.ps1 - Restore configs
IntuneBackupAndRestore/Public/Start-IntuneRestoreConfig.ps1 - Restore assignments
IntuneBackupAndRestore/Public/Start-IntuneRestoreAssignments.ps1
Intune resources
- Policies and configs
IntuneBackupAndRestore/Public - Resource assignments
IntuneBackupAndRestore/Public - Client apps
IntuneBackupAndRestore/Public/Invoke-IntuneBackupClientApp.ps1 - Autopilot profiles
IntuneBackupAndRestore/Public/Invoke-IntuneBackupAutopilotDeploymentProfile.ps1 - Management scripts
IntuneBackupAndRestore/Public/Invoke-IntuneBackupDeviceManagementScript.ps1 - Endpoint security
IntuneBackupAndRestore/Public/Invoke-IntuneBackupDeviceManagementIntent.ps1
Backup comparison
- Compare files
IntuneBackupAndRestore/Public/Compare-IntuneBackupFile.ps1 - Compare directories
IntuneBackupAndRestore/Public/Compare-IntuneBackupDirectories.ps1
Other components
- Operator
- Microsoft Graph
- Backup JSON files
Connections 11
- Operator → Backup command: starts backup
README.md - Operator → Restore configs: starts restore
README.md - Operator → Restore assignments: starts restore
README.md - Backup command → Microsoft Graph: queries
README.md - Backup command → Backup JSON files: writes backup
README.md - Restore configs → Backup JSON files: reads backup
README.md - Restore assignments → Backup JSON files: reads backup
README.md - Operator → Compare files: compares files
README.md - Operator → Compare directories: compares directories
README.md - Compare files → Backup JSON files: compares files
README.md - Compare directories → Backup JSON files: compares backups
README.md