906 B
906 B
Plan: Device Categories (Enrollment/Organization) (028)
Branch: feat/028-device-categories
Date: 2026-01-04
Input: spec.md
Approach
- Confirm Graph endpoints and patchable fields:
- list:
GET /deviceManagement/deviceCategories - create/update/delete supported
- list:
- Add
deviceCategorytoconfig/tenantpilot.phpunderfoundation_types(risk low, restore enabled). - Add contract entry in
config/graph_contracts.phpfor foundations (resource + create/update methods). - Extend
FoundationSnapshotServiceto fetch categories (list + per-item payload). - Extend
FoundationMappingServiceand restore flow:- match by
displayName - create missing
- match by
- Add targeted Pest tests for foundation capture + restore.
Decisions / Notes
- This is modeled as a foundation type (captured automatically with backup sets), not a Policy inventory type.