avd-opsDeploy quietly
Community research project. Use at your own risk. No warranty.Use at your own risk
  • Built on my own time for research and learning. Not affiliated with, endorsed by or supported by my employer or Microsoft.
  • Don't run any of it in production or against tenants that matter. Test in a dedicated lab subscription and tenant first.
  • Provided "as is", without warranty of any kind, under each repo's license. You use it at your own risk and own the Azure charges it incurs.
  • Contributions and forks are welcome and encouraged. See Contribute.

Security review

What a security reviewer needs, in one map.

Approving an Azure Virtual Desktop deployment built with the avd-ops repos? This page lists what each repo does for security, links the file that does it or proves it at a pinned commit, and says how strong that proof is, what you still own, and what is missing.

It is a map, not a copy and not an audit: every line points at the repo that holds the detail. The map itself lives in avd-assess (security-review.yaml), and this page renders it at commit 8875905, checked 2026-11-11. Nothing here is a security audit, a compliance attestation or a penetration test.

How far each repo has been proven

The owner's call, recorded in the roadmap spec. A claim below never makes its repo more proven than this.

How strong the evidence is

Each claim carries one standing, the strongest its evidence supports. Of 45 claims: 3 run, 42 guarded, 0 built, 0 designed.

Run
A real run showed it: a lesson or a run record is in the evidence.
Guarded
A check in CI fails if it breaks.
Built
It is in the code; no test or real run was found for it.
Designed
Written down only: a spec or a proposed decision, not built or not run.

The reviewer's questions

Each question is answered by the claims and the operator decisions it links.

  1. Which identities deploy, read and change the estate, with which roles and for how long? lz-deploy-owner, lz-ci-oidc, lz-graph-delegated, lz-rbac, entra-ca-groups, cs-reader-only, cs-graph-readonly, swarm-identities, op-subscription-owner
  2. Where is every secret, who can read it, and does any operator have to remember or paste one? lz-break-glass, lz-key-vault, lz-jumpbox, lz-ci-oidc, lz-registration-token
  3. What is reachable from the internet, and how do admins reach hosts? lz-private-link, lz-private-data-plane, lz-nsg, azure-plane-network, pp-vnet-enterprise-policy, lz-jumpbox
  4. How are user profiles authenticated, encrypted and protected from deletion? lz-profile-share, op-ntfs, lz-last-copy
  5. How are hosts hardened, checked for drift and protected? lz-trusted-launch, lz-encryption-at-host, lz-host-baseline, lz-defender-intune, intune-host-profiles, m365-vdi-baseline, op-trust-boundary, op-host-baseline, op-endpoint-protection
  6. What can move between the user's device and the session? lz-redirection, usgov-cloud-profile, op-redirection
  7. Which Conditional Access, MFA and consent decisions does the deployment need from the tenant? entra-ca-groups, op-conditional-access, op-admin-consent
  8. Which guardrails, logs and budgets are on, and which come from the platform? lz-policy, lz-budget-shutdown, pp-dlp-baseline, usgov-cloud-profile, op-platform-policy, op-logging
  9. What do the tools collect, where does it go, and what leaves the browser or the tenant? cs-reader-only, cs-graph-readonly, cs-facts-redaction, cs-portal-state, lz-portal-local, lz-portal-report, brain-layers, family-no-ids, op-pseudonym-key
  10. Can the code and its dependencies change under a passing build? lz-pinned-tools, lz-psrule, secret-scan, lz-actions-pinned, pinned-sources, family-licenses
  11. Can any automation change the estate without a person's approval? brain-no-write, swarm-gate, swarm-prompt-shields, op-environment-reviewers

Identity and access

Standards: identity security-posture in the avd-assess pillars.

ClaimRepoStandingEvidence
Deploying needs Owner on a dedicated subscription, because the template creates role and policy assignments; the post-deployment admin consent needs Cloud Application Administrator or Application Administrator.avd-landing-zoneGuarded
GitHub Actions sign in to Azure with OpenID Connect federated credentials, one exact subject per environment; no Azure secret is stored. The image build identity is federated to the images environment only.The optional break-glass password can be a repository secret for CI; unset, deploy.sh generates one.avd-landing-zoneGuarded
Scripts reach Microsoft Graph as the signed-in person through a public client app with delegated permissions, no secret or certificate, assignment required. Every purpose signs in with one union of scopes, which includes write scopes even for a read-only preflight.The operations docs state the trade-off for reviewers; there is no read-only scope set, and a reviewer who needs one runs the check with reader roles only.avd-landing-zoneGuarded
The hosts' local administrator password is random per deployment unless one is supplied, stored in Key Vault for the hosts that deployment created, and recovered with VM reset password; nobody has to remember it.avd-landing-zoneRun
Built-in roles only, each at the narrowest scope the template knows; users get Desktop Virtualization User and Virtual Machine User Login, admins Virtual Machine Administrator Login and the elevated SMB role, the AVD service Power On Off Contributor, and the shutdown runbook's identity only what its actions need.avd-landing-zoneGuarded
The admin jumpbox and Bastion Developer are opt-in and off by default; the box has no public IP, an NSG that denies the internet and onward RDP and SSH, a managed identity with no roles, a one-time password per connection, and a daily stop.Decision 0019 stays proposed until a sandbox run confirms the connection.avd-landing-zoneGuarded
Deploys per-pool user and admin security groups, dynamic session host device groups, and AVD Conditional Access policies (reportOnly by default, with break-glass exclusions and Entra Kerberos setup).avd-entraGuarded
The collector and validator need Reader (Desktop Virtualization Reader recommended) and no write role; they read through Resource Graph and REST GET, every request is listed in rebuild/scope.json, and files are written only to the local output folder.avd-current-stateGuarded
Multi-plane collection across Entra, Intune, Microsoft 365, and Power Platform uses only read-only Graph scopes (Directory.Read.All, Policy.Read.All, DeviceManagementConfiguration.Read.All, DeviceManagementManagedDevices.Read.All) and BAP read endpoints; write scopes (.ReadWrite.*, .Manage.*) are rejected at runtime and guarded in CI.avd-current-stateGuarded
Each agent and job has its own identity with least privilege, federated credentials and managed identities only, and its own named Graph apps so sign-in logs and Conditional Access can target them.avd-swarmGuarded

Network exposure

Standards: networking-azure networking-client in the avd-assess pillars.

ClaimRepoStandingEvidence
The profile storage account, the Key Vault and the backup vault turn public network access off and are reached through private endpoints.avd-landing-zoneGuarded
The session host subnet denies inbound from the internet and outbound RDP and SSH to the virtual network (no lateral movement); the private endpoint subnet allows only SMB from the hosts and HTTPS inside the virtual network.The template test covers the session host subnet's rules; the private endpoint subnet's are in the code.avd-landing-zoneGuarded
The standalone Azure plane module enforces the same Private Link, private endpoint, and session host NSG rules as the landing zone orchestrator.avd-azureGuarded
Deploys Microsoft.PowerPlatform/enterprisePolicies in Bicep to link Power Platform environments to delegated virtual network subnets when private network reachability is enabled.avd-power-platformGuarded

Profiles, secrets and encryption

Standards: profiles security-posture in the avd-assess pillars.

ClaimRepoStandingEvidence
The FSLogix share uses Entra Kerberos with no domain controllers, SMB 3.1.1 with Kerberos only, AES-256 tickets and GCM channel encryption; AES-128-GCM stays allowed because a real run showed AES-256-GCM alone denies cloud-only users. Shared key access is off unless the vaulted backup tier needs it, and deleted shares are kept 14 days.avd-landing-zoneRun
Key Vault uses Azure RBAC, purge protection and no public network access; a purge-protected vault is recovered rather than waited out.avd-landing-zoneRun
Encryption at host is on by default for session hosts.avd-landing-zoneGuarded

Session hosts

Standards: security-posture endpoint-protection intune protocol in the avd-assess pillars.

ClaimRepoStandingEvidence
Session hosts and the jumpbox are Trusted Launch VMs with Secure Boot and vTPM, and the Well-Architected review warns when they are not.The template test covers the jumpbox; the hosts' setting is in the code.avd-landing-zoneGuarded
Hosts are checked against a reviewed twelve-control baseline profile with recorded departures, read-only through Run Command, reported as warnings (pass, departure, gap or unknown), never failures.Decision 0018 is proposed; no sandbox run has confirmed the expected values yet.avd-landing-zoneGuarded
The default RDP properties turn drive and USB redirection off and keep clipboard, printers, smart cards, WebAuthn and the camera on, a usability trade-off the method records; the Well-Architected review warns when drive or USB redirection is on.avd-landing-zoneGuarded
Intune enrollment is on by default; Defender for Cloud plans are on in the prod parameter file and off in dev and test. Under a platform that already assigns Defender and policy, the operator turns them off and the platform owns them.avd-landing-zoneGuarded
The host registration token is generated per deployment and valid for four hours.avd-landing-zoneGuarded
Configures Intune MDM auto-enrollment, multi-session Settings Catalog profiles (FSLogix, RDP Shortpath, session limits), and secure-by-default host compliance policies.avd-intuneGuarded
Applies OneDrive Known Folder Move and Files On-Demand, Microsoft 365 Apps Shared Computer Activation, and Teams VDI media optimization policies for session hosts.avd-m365Guarded

Governance, spend and teardown

Standards: governance finops in the avd-assess pillars.

ClaimRepoStandingEvidence
Subscription guardrails are on by default; Azure Policy built-ins (allowed locations and others) and the activity log exported to Log Analytics, kept 90 days by default. A budget is created only when the operator sets an amount.avd-landing-zoneGuarded
Hosts stop on a daily schedule by default unless the operator opts out with an expiry, and a budget, when set, calls the same shutdown action.avd-landing-zoneGuarded
Teardown refuses to delete the last copy of profiles, logs and evidence without -DiscardLastCopy, which -Force never implies.avd-landing-zoneGuarded
Enforces a baseline Data Loss Prevention policy that blocks unapproved connectors and scopes day-2 AVD flows to a dedicated Power Platform environment.avd-power-platformGuarded
Publishes Contract C26 (avd-cloud-environments/v1) mapping Azure US Government and Microsoft 365 GCC High sovereign endpoints, Private DNS zones, allowed regions, capability flags, and ITAR/CUI redirection lockdown checks, guarded by offline schema and method tests.Offline contract and method checks guard the usgov profile and ITAR checks; standing stays guarded until a live AzureUSGovernment sandbox run records run evidence.avd-assessGuarded

Data handling and privacy of the tools

Standards: diagnostics security-posture in the avd-assess pillars.

ClaimRepoStandingEvidence
The deployment portal is a static page; output pasted into it stays in the browser. Its Content Security Policy allows no inline or third-party script, and its only outbound requests are the latency and reachability probes to Azure endpoints.connect-src allows any https origin so the probes work; the test guards that the page itself fetches only through the timed probe.avd-landing-zoneGuarded
Report a problem redacts emails, IDs, subscription and resource names, the name prefix, group names and secrets in the browser; the person reviews the text and files the public issue themselves.avd-landing-zoneGuarded
The facts snapshot keeps counts and public values; names, resource and object IDs, users, IPs and tags never leave. Resources become keyed HMAC pseudonyms, unknown values become other, and the script refuses to write if anything shaped like a GUID, email, UNC path or IP is left. One tenant per snapshot.The pseudonym key stays with the operator; whoever holds the key and the IDs can reverse a pseudonym.avd-current-stateGuarded
The assessment portal reads a state line that holds counts and pseudonyms only, and refuses values that look private.avd-current-stateGuarded
Public knowledge holds generalized knowledge only; one customer's estate data lives in that customer's private vault repo, and knowledge changes only by a reviewed pull request that a leak check passes.avd-second-brainGuarded
Public text names no tenant, subscription, customer, user or machine, and third-party products only as categories; avd-assess's wording check and the leak checks in the KB repos enforce it, and a public repo fails CI if it carries the private notes layer.avd-assessGuarded

Supply chain and CI

Standards: governance in the avd-assess pillars.

ClaimRepoStandingEvidence
All eleven public repos are MIT licensed; what they adopt is listed with its license on the credits page, and code from unlicensed repos is used as reference only.avd-opsGuarded
CI pins Bicep, PSRule and its Azure rules, PSScriptAnalyzer, Pester and gitleaks to exact versions, and Azure Verified Modules to exact versions in the templates.avd-landing-zoneGuarded
PSRule for Azure checks the templates against Well-Architected rules on every change, and every suppression carries a justification.avd-landing-zoneGuarded
gitleaks scans the history on every pull request in avd-landing-zone, avd-current-state, avd-second-brain, avd-swarm, avd-assess and avd-ops; avd-landing-zone's job also proves its subscription ID rule still fires on a planted ID.avd-landing-zoneGuarded
Action references across avd-landing-zone, avd-current-state, avd-second-brain, avd-swarm, avd-assess and avd-ops are pinned to a 40-character commit SHA with the version tag as a comment, with weekly Dependabot update proposals and an SPDX 2.3 Software Bill of Materials per repo.avd-landing-zoneGuarded
Every source the method reads is pinned to a commit or a Learn page's git_commit_id, and the family's shared contracts are byte-identical copies whose hashes each consumer's tests check.avd-assessGuarded

Agents and automation

Standards: review-plan in the avd-assess pillars.

ClaimRepoStandingEvidence
The second brain holds no write credential; every change to an estate goes through avd-swarm's approval.avd-second-brainGuarded
Agents read and propose; any write is a plan a person approves in a protected GitHub environment, checked by a governance gate, watched by an observer outside the swarm's trust boundary, behind a layered kill switch that only the owner resets.avd-swarmGuarded
A prompt injection scan of untrusted text in the model client is built in the first spike, off unless asked for, and not yet run. Estate facts reach the agents only as redacted, cited facts from the brain, never as collector packages or exports.avd-swarmGuarded

What you still decide and own

The repos make these choices visible; they don't make them for you. Microsoft's half of the shared responsibility is in the AVD security guide.

DecisionSee
Who holds Owner on the landing zone subscription, and whether it is standing or just in time.lz-deploy-owner
Conditional Access and MFA for AVD users and admins; the landing zone needs one Conditional Access exclusion for the storage account's app, which the reviewer should see.ref:review-checklists-avd#G04.01, lz-profile-share
The share's root ACL, which the post-deployment step hardens to the FSLogix layout.lz-profile-share
Who may share a host (pooled, personal or a separate tenant), from the intake, not telemetry.ref:avd-security-guide#trust-boundary
The baseline controls left to the organization, and every departure with its reason.lz-host-baseline, gap:host-baseline-profile
The endpoint detection and response product on hosts, its exclusions for profiles and App Attach, and its cost.gap:security-agents-scope
Whether clipboard, printing, camera and the other redirections stay on, and whether screen capture protection and watermarking are needed.lz-redirection, ref:screen-capture-protection, ref:watermarking
Whether Defender plans and policy come from this landing zone or from an existing platform.lz-defender-intune, lz-policy
Log retention past the default and where security logs go for monitoring and incident response.lz-policy
Required reviewers on the prod GitHub environment, so a production deployment needs an approval.lz-ci-oidc
Custody of each estate's pseudonymization key.cs-facts-redaction

What each repo can touch

A short summary per repo, not a formal threat model. A formal review exists for avd-landing-zone, avd-current-state, avd-swarm; the others have none yet.

avd-landing-zone

Orchestrates the five control planes and creates and changes every resource in the landing zone subscription, the groups and apps it needs in Entra, and deletes on teardown.

Risks: An over-privileged deploying identity; A secret in the repo or a log; Public exposure of data services; A teardown that deletes the only copy.

Limited by: lz-deploy-owner, lz-ci-oidc, lz-break-glass, lz-private-data-plane, secret-scan, lz-last-copy

Red team review

avd-entra

Creates and configures AVD Entra dynamic groups, Conditional Access policies, and the Kerberos storage principal in the Entra plane.

Risks: A Conditional Access change locking out administrators; Over-broad Graph write scopes during deployment.

Limited by: lz-graph-delegated, op-conditional-access, op-admin-consent

No formal threat model yet.

avd-intune

Deploys Intune Settings Catalog profiles, compliance policies, and security baselines for AVD session hosts.

Risks: Misconfigured device policy affecting non-AVD endpoints.

Limited by: lz-defender-intune, op-host-baseline

No formal threat model yet.

avd-m365

Configures OneDrive Known Folder Move, Microsoft 365 Apps Shared Computer Activation, Teams media optimization, and multimedia redirection policies.

Risks: Unintended tenant-wide collaboration policy scope.

Limited by: lz-graph-delegated, op-admin-consent

No formal threat model yet.

avd-azure

Deploys the Azure Resource Manager plane (networking, storage, Key Vault, host pools, session hosts, monitoring, and policy guardrails).

Risks: Public exposure of storage or Key Vault; Over-privileged role assignments.

Limited by: lz-private-data-plane, lz-rbac, lz-policy

No formal threat model yet.

avd-power-platform

Configures Power Platform environments, Data Loss Prevention connector policies, and VNet enterprise policies when opted in.

Risks: Unblocked connectors exfiltrating data from session hosts.

Limited by: lz-policy, op-platform-policy

No formal threat model yet.

avd-current-state

Reads the subscriptions and control planes it is pointed at; writes only local files.

Risks: A read identity granted more than Reader or read-only Graph scopes; Collected names or IDs leaving with the facts.

Limited by: cs-reader-only, cs-graph-readonly, cs-facts-redaction, cs-portal-state

Red team review

avd-assess

Nothing in Azure; publishes method, references and contracts that the other repos pin.

Risks: A changed contract or rule reaching readers unreviewed.

Limited by: pinned-sources

No formal threat model yet.

avd-second-brain

Reads redacted facts and knowledge; holds no write credential.

Risks: Estate data reaching public knowledge.

Limited by: brain-layers, brain-no-write

No formal threat model yet.

avd-swarm

In design, the only write path for the layers above the foundation.

Risks: An unapproved write; A fooled agent proposing a bad plan; Prompt injection through tool output.

Limited by: swarm-gate, swarm-identities, swarm-prompt-shields

Red team review

avd-ops

The static site; no Azure access.

Risks: Private material published by mistake.

Limited by: family-no-ids, secret-scan

No formal threat model yet.

The standards

To judge an estate rather than the tools, use the avd-assess security method and its scope, the pillars security-posture identity networking-azure networking-client protocol endpoint-protection intune governance, and these pinned Microsoft sources: avd-security-guide, mcsb-avd-baseline, zero-trust-avd, review-checklists-avd, windows-security-baselines, intune-security-baselines, rdp-properties, screen-capture-protection, watermarking, defender-compute-recommendations, avd-private-link, bastion, psrule-azure.

What the review found missing

Gaps the map found, each for the repos named to fix.

GapRepos
Closed in 2.2.0; SECURITY.md is present across avd-landing-zone, avd-current-state, avd-second-brain, avd-swarm, avd-assess and avd-ops.avd-current-state, avd-second-brain, avd-swarm
Closed in 2.2.0; GitHub Actions across the family are pinned to 40-character commit SHAs (see lz-actions-pinned).avd-current-state, avd-second-brain, avd-swarm, avd-ops
Closed in 2.2.0; weekly Dependabot update configs (.github/dependabot.yml) and SPDX 2.3 Software Bills of Materials (sbom.spdx.json) are present across avd-landing-zone, avd-current-state, avd-second-brain, avd-swarm, avd-assess and avd-ops (see lz-actions-pinned).avd-landing-zone, avd-current-state, avd-second-brain, avd-swarm, avd-assess, avd-ops
Closed in 2.2.0; gitleaks runs in CI across avd-landing-zone, avd-current-state, avd-second-brain, avd-swarm, avd-assess and avd-ops (see secret-scan).avd-current-state, avd-swarm, avd-assess
Closed in 2.1.0; read-only Graph scopes are enforced and guarded in CI (see cs-graph-readonly).avd-landing-zone
Closed in 2.1.0 by tests/ReadOnlyGuard.Tests.ps1 (see cs-reader-only).avd-current-state
The host baseline (decision 0018) and the jumpbox (decision 0019) have no real-run evidence yet. The hosts' Trusted Launch, subnet rules and role assignments now have template tests.avd-landing-zone
Closed in 2.2.0; docs/threat-model.md is present in both avd-landing-zone and avd-current-state.avd-landing-zone, avd-current-state

Reporting a vulnerability

Privately, through Report a vulnerability on the affected repo's Security tab. Where a repo has no security policy yet (avd-current-state, avd-second-brain, avd-swarm) and the button isn't there, open an issue that asks for a private contact and holds no details. Never put secrets, IDs, names or estate data in a public issue.

The map as data

For tools: security-review.json (avd-assess-security-review/v1), byte-identical to avd-assess at 8875905, with its schema.

This page is built from avd-assess's security review map. Something wrong or missing? Open an issue or a pull request in avd-assess.