Windows 365

Giving agents a Cloud PC to test in a real browser, set up once per tenant from Admin, Windows 365.

With Windows 365 for Agents, a stage’s agent can borrow a Cloud PC to test a website in Edge, run a program, click through it and take screenshots. The coding itself still runs on the stage’s workbench. The Cloud PC is a computer the agent uses, not where it works.

Windows 365 is optional. Nothing about it is set up when you install, so a customer who never uses it never needs a Global Administrator.

Everything below is done once per tenant, from Admin → Windows 365. The screen shows the same steps, with your own values filled in to the commands.

Before you start#

You will need:

  • Licences: Agent 365, Microsoft Intune, Windows Enterprise E3 or higher, and Entra ID P1. There is no per-user Windows 365 licence, because Cloud PCs for agents bill by the hour.
  • A Global Administrator for steps 2 and 4. A Privileged Role Administrator who is also an Application Administrator can do step 2.

Eido Build cannot check your licences. A missing one shows up later as a refusal from Microsoft.

What it costs#

A Cloud PC costs about $0.40 for each hour it is in use, rounded up to the hour, plus $5 a month for each Cloud PC kept always available. These are Microsoft’s US list prices and are billed to your Azure subscription by Microsoft.

Set it up#

  1. Create a billing policy

    In the Microsoft 365 admin centre, go to Copilot → Cost management → Billing policies. Name a subscription, a resource group and a region, then switch Windows 365 for Agents on for it under Pay-as-you-go services.

    Create it in Eido Build’s own resource group and Eido Build finds it by itself. The screen shows the subscription and resource group to choose. The region must be inside the geography your Cloud PCs will be in.

  2. Grant Eido Build its permissions

    The screen shows one command that grants Eido Build’s identity the Microsoft Graph permissions it needs. Press Open Cloud Shell, paste the command, run it, then press Refresh on the screen.

    The command says granted for each permission. It grants only what is missing, and can be run again safely.

  3. Create the agent

    Type a sign-in name for the agent on one of your domains, such as buildengine-agent@contoso.com, and press Create agent. This makes the agent’s identity in your Entra tenant. Whoever presses the button becomes the agent’s sponsor.

    If it stops part way, press it again. It carries on from where it stopped and never makes a second agent.

  4. Let the agent use Cloud PCs

    A Global Administrator presses Grant consent. Microsoft’s own consent page opens in a new tab. Accept it, close the tab, and press I’ve accepted.

  5. Create a provisioning policy

    Press New policy. Choose the geography, the image, and how many Cloud PCs to keep always available. Microsoft takes 20 to 30 minutes to provision it.

  6. Try it

    On the Agent VMs tab, Run the check borrows a Cloud PC, tests it, and gives it back.

Let a stage use a Cloud PC#

In Admin → Projects → Workflows, open an agent stage and, under Tools, tick The agent may use a Windows 365 Cloud PC. Set how many Cloud PC hours the stage may use, from 1 to 8.

The agent borrows a Cloud PC the first time it needs one and gives it back when it is done or the stage ends. The hours appear in the work item’s cost.

On such a stage you can also tick a project action that prints a sign-in link. The agent opens the link on the Cloud PC without ever seeing it.

Watching the Cloud PCs#

The Agent VMs tab lists every Cloud PC Eido Build has borrowed: when, for what, and whether it is still out.

ButtonWhat it does
EndGives the Cloud PC back now. Microsoft wipes it.
CheckAsks Microsoft where it has got to. This counts as using it, and restarts Microsoft’s 30 minute idle timer.

A Cloud PC nobody touches for 30 minutes is taken back by Microsoft.

When something is refused#

What you seeUsually
The permissions step still reads short after the command workedAzure is still handing out an older token. Press Refresh. If it stays short, wait and try again later.
Create agent stops part wayEntra has not noticed the last thing it made yet. Press it again.
Create agent answers 403The permissions in step 2 are not granted, or not in effect yet.
No billing policies are offeredThe billing policy is not in Eido Build’s resource group, and Eido Build cannot read where it is. The screen shows the command that fixes this.
Making a policy is refused about billingThe wrong billing policy, or Windows 365 for Agents is not switched on in it.
Consent fails with AADSTS650052Your tenant does not yet know one of Microsoft’s apps. The screen has a section with the command that adds them.
“No free W365 sessions”Every Cloud PC in the policy is out or being wiped. End the one that is out, or wait.
403 from a Cloud PC later onConsent in step 4 was never completed.

Popular

Your first work itemRaise an enhancement and follow it through triage, the agent stages, approval and the merge.User guideHow a workflow runsThe stages a work item passes through, who has each one, and what each status means.User guideAcceptance criteria and QAWriting down what done means, testing a change against it with evidence, and deciding what happens to the bugs that turn up.User guideCutting a releaseFreezing a release, running its checks, deciding what to do about what they find, and shipping it.User guideOdieThe assistant on every page. It reads everything you can read, and anything it wants to change becomes a card for you to press.User guideCosts and budgetsWhat agents cost, where to see it, and the caps that stop a stage, an agent or a month from overspending.AdministrationIntegrations for agentsLetting agents act in other systems by granting them specific actions, without ever handing them a credential.AdministrationLicensingHow Eido Build checks its licence, what it sends when it does, and what to do if it locks.Install and licence