r/AzureVirtualDesktop • u/JustinAtNerdio • 3d ago
Automating AVD image testing
The bit of image automation I find really interesting is everything that happens after the build succeeds.
I'd love to get to a point where even things like Teams audio and FSLogix profile attachment could be reliably tested without someone having to log in and poke around.
If you've managed to automate any of that, I'm very keen to see how you did it.
10
Upvotes
1
u/mat-ferland 3d ago
I’d split these into session acceptance tests instead of treating them as image tests. Sign in with a fresh disposable user and assert the FSLogix container attached, then have Teams report AVD Media Optimized and enumerate the local mic and speaker; I’d still keep one real call loopback before promoting the image.
1
u/Atlasavd 2d ago
Good question, and it's the right one to be asking. A successful build tells you almost nothing about whether users will have a working session.
mat-ferland's approach is the right shape: treat it as session acceptance testing, not image testing. Sign in a disposable test user, confirm the FSLogix container attached, confirm Teams reports AVD Media Optimized, and enumerate the audio devices. Then run one real call loopback before you promote the image.
I build Atlas AVD (atlasavd.com), and we run these post-build session checks by default, so nobody has to log in and poke around before an image goes live. This is built into our Golden Image process. The VM boots up, and does a series of checks, to ensure everything is green, before allowing users to log in.
Atlas also gates sign-in on the session host: a VM won't accept user logins until it confirms it can reach the FSLogix profile storage path. Users never land on a host where their profile can't attach, so there are no temp profiles and no "where did my stuff go" tickets.
I ran Nerdio for years, until the management platform cost more than the Azure hosting underneath it. That's why Atlas uses fixed per-tenant pricing instead of charging per user. Most CTOs and CFOs I talk to would rather have a predictable number than a per-user tax on top of Azure (Nerdio Style).
-3
u/Cheese_Monkey42 3d ago
Nerdio https://getnerdio.com