avd-intune
The Microsoft Intune policy-as-code and Windows 365 Cloud PC control plane for desktop estates.
More
Declarative Microsoft Graph Settings Catalog profiles, compliance policies, assignment filters and optional Windows 365 Cloud PC provisioning policies (deviceManagement/virtualEndpoint) for Azure Virtual Desktop and Windows 365 (decision 0034, decision 0012).
The repo is the source of truth: avd-ops/avd-intune. This page says where it fits.
What it does
It configures Intune MDM enrollment, assignment filters, Settings Catalog baselines and optional Windows 365 provisioning policies.
More
- Checks active Intune and Windows 365 service plans (
INTUNE_A*,CPC_E_*,WIN365_*), MDM auto-enrollment scope and Windows Enterprise multi-session enrollment rules in preflight without purchasing commitments. - Deploys standard Intune assignment filters (
avd-multisession,avd-personal,win365-cloudpc,physical-desktop), Settings Catalog profiles (FSLogix,Watermarking,ScreenCaptureProtection,SessionTimeLimits,DefenderVdiExclusions) and device compliance policies stamped with[avd-ops-<prefix>-<env>]. - Optionally deploys declarative Windows 365 Cloud PC provisioning policies (
enableSingleSignOn: true), user settings (localAdminEnabled: false, scheduled restore points) and Azure Network Connections when-IncludeWin365is enabled (decision 0012). - Assigns Settings Catalog, compliance and Windows 365 policies to the groups from avd-entra.
- Resolves core host application versions, URIs and hashes (
profiles/apps/core-host-apps.json) viaSync-EvergreenApps.ps1using EUCPilotsEvergreenandVcRedist(system-context, required, device-group targeted), optionally invoked fromDeploy-AvdIntune.ps1 -SyncApps. Deploy-AvdIntune.ps1emitsintune-manifest.json(avd-ops-intune-manifest/v1) and recordscreated: true|falseper policy ID inintune-run-manifest.json(avd-ops-intune-run-manifest/v1).Remove-AvdIntune.ps1 -DiscardLastCopydeletes only policies created by the run (created: trueand matching the[avd-ops-<prefix>-<env>]stamp), leaving pre-existing brownfield policies untouched and gating teardown behind-DiscardLastCopy.
# Azure Cloud Shell (PowerShell)
if (-not (Test-Path ~/avd-intune)) { git clone https://github.com/avd-ops/avd-intune.git ~/avd-intune }
Set-Location ~/avd-intune; git checkout -q main; git pull -q --ff-only
./scripts/Deploy-AvdIntune.ps1 -EntraManifestPath ./entra-manifest.json -OutputPath ./intune-manifest.json -RunManifestPath ./intune-run-manifest.json
./scripts/Remove-AvdIntune.ps1 -RunManifestPath ./intune-run-manifest.json -DiscardLastCopy -WhatIf
How it fits
It targets the device groups from avd-entra so session hosts deployed by avd-azure enroll on first boot.
More
- Orchestrated by avd-landing-zone alongside avd-azure and avd-entra.
- Validated read-only by avd-current-state against benchmarks in avd-assess.
Read more in the repo
The repo has the full detail. Start here: