Sessionright

Design partner program: the sandbox estate

See the Azure Virtual Desktop operator work on an estate you own and can throw away

One command stands up a complete, isolated Azure Virtual Desktop lab in a subscription you own, in about 25 minutes. Sessionright connects to it read-only, runs a first assessment and, when you choose, proposes fixes that you approve in your own terminal. A second command removes every trace. Nothing touches production.

What one command stands up

A one-host Azure Virtual Desktop estate: complete enough for the operator to have something real to read and act on, small enough to cost pocket change.

Host pool, workspace and desktop application group

A pooled host pool marked as a validation environment, its workspace and desktop application group, with diagnostics on all three sent to Log Analytics.

One Entra-joined session host with single sign-on

Windows 11 multi-session on a Standard_B2ms with no public IP. Entra single sign-on is configured for the host pool so your test user signs straight in; without it, tenants that enforce MFA reject password logon.

Log Analytics with AVD diagnostics

The diagnostic tables, host heartbeats and performance counters the rules read, kept for 30 days and inside the free tier.

An optional Key Vault

Holds the session host's local administrator password so nothing secret lands on your laptop. You hold Key Vault Secrets Officer on it. One flag skips it.

A least-privilege identity for Sessionright

One service principal with five read-only roles at subscription scope and the low-risk operator roles on the sandbox resource group only. Nothing outside the sandbox can be changed through it.

Rendered config, preflight and a first assessment

The platform's configuration file is written for you, preflight confirms every role has landed, and the first assessment runs before the script exits.

Optional seeded misconfigurations

With --seed-findings the lab gains an unattached disk, an unused public IP and an open RDP rule on a network security group that protects nothing, so the first assessment has something to find and fix. A scaling plan is attached but left disabled for the same reason.

Two commands

Both run in your terminal, signed in to Azure as you. The first previews every change with a what-if before it asks to deploy, and re-running it is safe: it updates the same deployment. A Sessionright engineer sends you the repository they live in.

Stand it up
bash avd/onboarding/sandbox/sandbox-up.sh \
  --subscription <subscription id> --location eastus \
  --seed-findings --test-user you@yourtenant.com
Remove every trace
bash avd/onboarding/sandbox/sandbox-down.sh \
  --subscription <subscription id> --prefix avdsbx

About 25 minutes end to end. Our lab run on 2026-11-07 took 23.5.

What the first command does, in order

  1. 1

    Checks your Azure CLI session, registers the resource providers a fresh subscription has switched off, and confirms vCPU quota and the Windows 11 multi-session image in your region.

  2. 2

    Previews the deployment with a what-if, asks once, deploys (about 18 minutes) and waits for the session host to register as Available.

  3. 3

    Configures Entra single sign-on for the host pool.

  4. 4

    Creates Sessionright's identity and assigns its roles: read-only on the subscription, low-risk operator on the sandbox resource group.

  5. 5

    Writes the configuration, initializes your approval keys, runs preflight and the first assessment, then prints every follow-up command with your ids filled in.

What you need

  • An Azure subscription where you are Owner, or Contributor plus User Access Administrator. A fresh pay-as-you-go subscription works.
  • Global Administrator or Cloud Application Administrator in Entra for the single sign-on step. Without it, run with --skip-sso and have an administrator re-run the script later.
  • One Entra test user to sign in to the desktop. Windows 11 multi-session needs an eligible licence: Microsoft 365 Business Premium, E3, E5, F3, or Windows E3 or E5.
  • A Linux or macOS machine, or WSL on Windows, with Azure CLI 2.60 or later, Node 22 or later and python3.

What it costs, and how it goes away

Roughly $1.50 a day

With the host deallocated, which the daily auto-shutdown does for you at 19:00 in your time zone, the sandbox costs roughly $1.50 a day: the disk, the NAT gateway and the seeded findings. While the Standard_B2ms host runs it adds about $0.08 an hour, so a full day around the clock is about $3.50. Log Analytics stays inside its free tier. East US retail prices, rounded.

One command, nothing left behind

The second command lists what it found, asks once, and deletes it: the resource group, the soft-deleted Key Vault (purged, so the name is free again), the subscription-scope deployments, Sessionright's identity and its role assignments, the single sign-on device group, and the secret on your machine. Our 2026-11-07 teardown deleted 12 resources. Your audit log and configuration file are kept on purpose, and nothing outside the sandbox resource group is touched.

Who it is for

Design partners evaluating the Azure Virtual Desktop operator before any production scope. You see the whole loop on an estate you own and can throw away: a finding with its evidence, a plan with a dry run, an approval in your own terminal, the execution, the verification, and an audit chain you can check. It is also how a Sessionright engineer walks you through the platform on a call.

What it is not

The sandbox estate is not a production deployment tool, and nothing in it is a template for one.

  • One session host, one pooled host pool and a lab network, not a landing zone.
  • Deliberately short thresholds and low-risk write actions switched on, so the walkthrough fits in 20 minutes.
  • Production estates connect the other way around: read-only first, default thresholds, your own change windows.

What happens next

  1. 01

    Read the first assessment

    The findings on your sandbox, each with its rule ID and the evidence behind it. The structure is the same as the sample report.

    See a sample assessment report
  2. 02

    Watch a fix go through

    Drain the only host by hand, let the drain-stuck rule fire, approve the one-step plan in your own terminal and watch the executor verify the host is back in the pool. Then tear it down.

  3. 03

    Talk to an engineer

    Fifteen minutes to decide whether the design partner program fits your estate. If it does, a Sessionright engineer connects the platform to your real estate read-only, and engineer-led assessments are 50% off for design partners.

    Talk to an engineer

Questions

Is this production?

No. It is a one-host lab in its own resource group with its own network, in a subscription you own. Nothing in it touches an existing host pool, and nothing about it is a template for a production landing zone. Production onboarding starts the other way around: read-only on your real estate, with a Sessionright engineer.

Who holds the keys?

You do. You stay Owner on the subscription and approve every write in your own terminal. The session host's local administrator password lives in a Key Vault in your subscription where you hold Key Vault Secrets Officer. The secret for Sessionright's identity is written to a file on your machine with owner-only permissions, never into the repository and never sent to Sessionright.

What does Sessionright's identity get?

Five read-only roles at subscription scope: Reader, Log Analytics Reader, Monitoring Reader, Cost Management Reader and Desktop Virtualization Reader. On the sandbox resource group only, the low-risk operator roles: power on and off, session host and user session operations, virtual machine, tag and monitoring contributor, and network contributor for public IP cleanup. The configuration caps it at low-risk actions; disruptive ones stay plan-only in the sandbox, so the operator shows the plan and stops.

How do approvals work?

Every change starts as a plan with a dry run and a hash. You approve the plan in your own terminal, which mints a single-use token bound to that hash; the approval command refuses to run inside an AI coding tool, on purpose. The executor checks the token, re-reads live state, runs one step, re-assesses the host and writes each step to a hash-chained audit log you can verify.

Can we leave it running?

Yes. A daily auto-shutdown deallocates the host at 19:00 in the time zone you pass, so a forgotten sandbox costs disk and gateway only. Optional systemd units run one operator cycle every 15 minutes; that loop never approves anything.

Can we re-run it, or stand it up again later?

Both scripts are idempotent. Re-running the first updates the same deployment, reuses Sessionright's identity and rewrites the configuration. Tearing down and standing up again works too: the teardown purges the soft-deleted Key Vault so its name is free.

Want to see it in your own subscription?

Talk to a Sessionright engineer for fifteen minutes. We send you the repository, you run the first command, and we walk through the first findings together.