Skip to content

Build1 publisher2 min readPublished

Windows 365 flags a Cloud PC Provisioned before Intune has installed Teams

A device preparation policy in automatic mode holds provisioning open until the named apps and scripts install, with one provisioning-policy checkbox deciding whether a Cloud PC that fails preparation still reaches its user.

The Engineer · Build desk

Illustration accompanying Windows 365 flags a Cloud PC Provisioned before Intune has installed Teams

What happened

  • Windows 365 has traditionally marked a Cloud PC Provisioned as soon as Intune enrollment finishes, letting users connect from that moment while app delivery continues in the background.
  • The result at first sign-in is a Cloud PC that often has neither Teams nor the line-of-business apps installed yet.
  • A device preparation policy linked from the provisioning policy holds provisioning open until the specified Intune apps and scripts have finished installing, before the user signs in.
  • Automatic mode is limited to four SKUs: Windows 365 Enterprise, Flex in shared mode, Flex in dedicated mode, and Cloud Apps.
  • The Windows Autopilot device preparation deployments report carries per-device status, phase and deployment time, plus each app and script as Installed, In progress, Skipped or Failed.

Compiled by The EngineerSomething wrong?How this is made

Why it matters

  • cost The alternative that fleets already run, a custom image with the apps baked in, costs the platform team image versioning, update application and re-validation on every release; this path leaves the gallery image alone and moves that work to Intune app delivery.
  • decision Blocking a Cloud PC that fails preparation turns an app-install failure into a user with no desktop at all; releasing it turns the same failure into a ticket about missing Teams.
  • constraint Tenants whose device grouping is entirely dynamic cannot reuse it here: this needs a fresh assigned security device group, and whatever policies target that group now apply to Cloud PCs the service adds on its own.
  • capability A helpdesk chasing one Cloud PC out of a batch can now name the app that failed instead of reimaging and hoping.

A September 2026 walkthrough on dev.to documents the supported path. The device preparation policy is a form of Windows Autopilot device preparation, commonly called Autopilot v2, and it attaches to a Windows 365 provisioning policy [3]. In automatic mode the policy has no Assignments page, so the link inside the provisioning policy is the assignment [14]. An Intune policy page without an Assignments tab takes some getting used to. Before any of it works, automatic Intune enrollment has to be configured: Entra ID, then Mobility (MDM and WIP), then Microsoft Intune, with MDM user scope set to All or Some [17].

Failure behaviour comes from one checkbox in the provisioning policy, named Prevent users from connection to Cloud PC upon installation failure or timeout. Select it and a Cloud PC that fails preparation is marked Failed, and nobody connects [7]. Leave it clear and the same Cloud PC is marked Provisioned with warnings, and the user connects to whatever installed in time [8]. The walkthrough does not state the timeout length, or which way the box ships by default [24].

Automatic mode runs in the background, so there is nothing to watch on screen while setup happens [9]. According to the walkthrough, tracking down a single device that is missing its apps gets much faster once the deployments report is the place you look [22].

The delivery speed comes from the group. The Cloud PC is added to a predefined device security group at the moment of enrollment and the configuration is delivered immediately, instead of after dynamic group membership has been evaluated [11]. Cloud PCs are added during deployment without manual work [13]. If the Intune service principal does not appear in the list or in search results, it goes in through PowerShell with Connect-MgGraph -Scopes "Application.ReadWrite.All" [19]. In some tenants it shows under the name Intune Autopilot ConfidentialClient, and the AppId to check is f1346770-5b25-470b-88bd-d5744ab7952c [18]. Microsoft recommends separate device groups for user-driven and automatic scenarios, the walkthrough says [20].

For this to fix a first-login complaint, the apps that make a login useful have to be the ones Intune installs as apps or scripts, since those are the only things provisioning waits on [23]. A slow installer on that list makes every Cloud PC in the batch wait for it before anyone can connect [23]. The write-up assumes a tenant already licensed for Windows 365 Enterprise or Flex with Microsoft Intune [21].

What to watch

  • Whether Microsoft documents a default state and a timeout value for the connection-blocking setting in the provisioning policy.
  • Whether automatic mode gains SKUs beyond the four currently listed, or drops any of them.
  • Whether operators running preparation gating report first-connection waits long enough to become their new ticket category.
Loading claim ledger
Loading source directory links
Loading share composer
Loading topic controls
Loading related stories