Apps & protection¶
The protect stage. Intune can manage the app without managing the whole device, which is what makes "bring your own device" practical. Three datasets live here:
mobile_apps— the app catalogue (store, managed store, Win32/LOB, web).managed_app_policies— MAM/data-loss rules (block copy/paste, require a PIN, selective wipe) and the app registrations they cover.vpp_tokens— Apple volume-purchase licensing and its sync/expiry health.
flowchart LR
CAT["mobile_apps\ncatalogue"] --> POL["managed_app_policies\nwhat data may leave"]
CAT --> VPP["vpp_tokens\nApple bulk licences"]
POL --> REG["managed_app_registrations"]
Start here¶
| Script | What / why | Permissions |
|---|---|---|
inventory.py |
The app catalogue with categories; --details adds each app's categories and assignment count. |
DeviceManagementApps.Read.All |
app_protection.py |
MAM policies plus managed app registrations — who is protected, by what. | DeviceManagementApps.Read.All |
licensing.py |
VPP tokens flagged [STALE] (no sync in 7 days) and [EXPIRING] (within 30 days). |
DeviceManagementApps.Read.All |
MAM vs MDM¶
- MDM (the rest of this folder) manages the device; compliance is about the whole machine.
- MAM (this folder) manages the app; a personal phone can have a managed
Outlook with corporate data fenced off from personal apps.
managed_app_registrationsis the per-user record of which apps are under management.