avd-m365
The greenfield Microsoft 365 and VDI productivity control plane for Azure Virtual Desktop estates.
More
Declarative Microsoft 365 configuration for greenfield tenants so users signing into Azure Virtual Desktop get OneDrive, Microsoft Teams and M365 Apps tuned for virtual desktops (decision 0034).
The repo is the source of truth: avd-ops/avd-m365. This page says where it fits.
What it does
It configures OneDrive, Teams VDI and Microsoft 365 Apps baselines for greenfield AVD tenants.
More
- Configures OneDrive Silent Account Configuration, Known Folder Move (
KFMSilentOptIn, querying the tenant GUID dynamically at deploy time) and Files On-Demand sync rules stamped with[avd-ops-<prefix>-<env>]. - Applies Microsoft Teams VDI media optimization (
SlimCoreAndWebRtc). - Sets Microsoft 365 Apps Shared Computer Activation, the Monthly Enterprise update channel and a three-month Outlook cache for FSLogix containers.
- Checks required tenant SKUs in preflight without purchasing recurring commitments.
Deploy-AvdM365.ps1emitsm365-manifest.json(avd-ops-m365-manifest/v1) and recordscreated: true|falseper policy ID inm365-run-manifest.json(avd-ops-m365-run-manifest/v1).Remove-AvdM365.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-m365)) { git clone https://github.com/avd-ops/avd-m365.git ~/avd-m365 }
Set-Location ~/avd-m365; git checkout -q main; git pull -q --ff-only
./scripts/Deploy-AvdM365.ps1 -EntraManifestPath ./entra-manifest.json -OutputPath ./m365-manifest.json -RunManifestPath ./m365-run-manifest.json
./scripts/Remove-AvdM365.ps1 -RunManifestPath ./m365-run-manifest.json -DiscardLastCopy -WhatIf
How it fits
It pairs with avd-entra and avd-intune when standing up a greenfield tenant from avd-landing-zone.
More
- Orchestrated by avd-landing-zone for greenfield setups; brownfield tenants with existing M365 settings can skip it.
- Consumes user group targets from avd-entra and aligns with endpoint profiles in avd-intune.
Read more in the repo
The repo has the full detail. Start here: