How ugurkocde/tenuvault works
TenuVault is a local-first Electron desktop app for backing up and restoring Microsoft Intune configuration, detecting drift, and assessing or improving configuration against frameworks and OpenIntuneBaseline. The principal workflow is an administrator signing in, selecting a tenant and backup scope/storage, then running or scheduling a backup; later they can inspect differences and restore selected policies. The graph includes the documented OIB and framework branches. Source evidence is sampled, so some feature wiring and optional integrations are shown only where the README documents them.
Main entry points: engine.ts Backup engine · App.tsx Desktop app · storage Encrypted storage · StorageChooser.tsx Backup controls
Components 21
Desktop experience
- Desktop app
src/renderer/App.tsx - Backup controls
src/renderer/components/StorageChooser.tsx
Backup and recovery
- Backup engine
src/main/backup/engine.ts - Intune type registry
src/shared/intune/registry.ts - Backup scope
src/shared/intune/scope.ts - Encrypted storage
src/main/storage - Restore workflows
src/main/features/change-sets/engine.ts - Restore Graph operations
src/main/features/change-sets/graph.ts - Drift detection
src/shared/intune/compare.ts
Configuration governance
- OpenIntuneBaseline
src/main/oib - Framework assessments
src/main/frameworks/service.ts - Compliance evaluation
src/shared/compliance/engine.ts - Change-set workflows
src/main/features/change-sets/engine.ts
Identity and services
- Tenant sign-in
src/main/auth/msal.ts - IPC bridge
src/preload/index.ts - Desktop API routes
src/main/api/desktop-routes.ts - Microsoft Graph
- Customer Azure storage
- Local backup store
- License service
Other components
- Administrator
Connections 22
- Administrator → Desktop app: uses
README.md - Desktop app → IPC bridge: requests via
- Desktop app → Backup controls: renders
src/renderer/App.tsx - Administrator → Tenant sign-in: signs in
README.md - Backup controls → Backup engine: starts backup
- Desktop API routes → Backup engine: routes to
src/main/api/desktop-routes.ts - Backup engine → Intune type registry: reads definitions
src/main/backup/engine.ts - Backup engine → Backup scope: normalizes scope
src/main/backup/engine.ts - Backup engine → Microsoft Graph: reads policies
src/main/backup/engine.ts - Backup engine → Encrypted storage: writes snapshots
src/main/backup/engine.ts - Encrypted storage → Local backup store: stores locally
- Encrypted storage → Customer Azure storage: stores remotely
- Administrator → Restore workflows: requests restore
- Restore workflows → Restore Graph operations: delegates writes
src/main/features/change-sets/engine.ts - Restore Graph operations → Microsoft Graph: writes policies
- Administrator → Drift detection: compares backups
README.md - Administrator → OpenIntuneBaseline: deploys or compares
README.md - OpenIntuneBaseline → Change-set workflows: uses change workflows
- Administrator → Framework assessments: reviews controls
README.md - Framework assessments → Compliance evaluation: evaluates settings
- Desktop app → License service: checks license
README.md - Tenant sign-in → Microsoft Graph: authenticates access
README.md