Device Client Deployment, Enrollment, and MDM Policy
How to deploy the Cloudflare One Client, set enrollment permissions, write MDM policy files, and verify devices connect to Zero Trust.
This page summarizes Cloudflare documentation on the Cloudflare One Client (formerly WARP): the device agent that connects laptops, phones, and servers to Cloudflare Zero Trust so Gateway can filter traffic and Access can gate private apps. Most fleets use either manual deployment (users install and sign in) or managed deployment (Intune, Jamf, Kandji, JumpCloud, Fleet, Hexnode, or an msiexec script) with a local policy file.
Cloudflare One Client: what it does on the device
Section titled “Cloudflare One Client: what it does on the device”The Cloudflare One Client is a device agent that encrypts traffic from the device (using MASQUE with post-quantum cryptography or WireGuard), routes it through Cloudflare, and applies Gateway policies there.
The Cloudflare One Client is a device agent that securely connects end-user devices to Cloudflare’s global network. The Cloudflare One Client encrypts traffic from the device using MASQUE (with post-quantum cryptography) or WireGuard and routes it through Cloudflare, where Gateway policies filter and inspect the traffic.
— Cloudflare, Connectivity options
Typical uses include replacing VPNs, DNS and web filtering, device posture checks, Cloudflare Tunnel access to private networks, Cloudflare Mesh device-to-device links, and Access for Infrastructure (for example SSH with short-lived certificates). For the default security stack, Cloudflare recommends Traffic and DNS mode; DNS-only mode filters DNS only and does not inspect HTTP or enforce posture checks (first-time setup).
Manual deployment vs managed deployment (MDM)
Section titled “Manual deployment vs managed deployment (MDM)”Organizations can deploy the client in two complementary ways:
Organizations can deploy and manage the Cloudflare One Client (formerly WARP) across their fleet of devices in two complementary ways:
Through a mobility management solution (MDM) — Push the client installer and its deployment parameters using a tool such as Intune, JAMF, Kandji, or JumpCloud, or by executing an .msi file on desktop machines. From the Cloudflare dashboard — Manage client versions for groups of devices directly from the Zero Trust dashboard, without relying on a third-party MDM solution.
— Cloudflare, Managed deployment
| Approach | Best for | Main artifacts |
|---|---|---|
| Manual deployment | Pilots and small teams | Installer + user IdP login or warp-cli registration new |
| MDM deployment | Enterprise fleets | Installer + mdm.xml, .plist, .mobileconfig, or MSI properties |
| Client version assignments | Ring-based upgrades without repackaging MDM | Dashboard deployment groups tied to device profile policy IDs |
Where policy files live
Section titled “Where policy files live”| Platform | Typical path or format |
|---|---|
| Windows | C:\ProgramData\Cloudflare\mdm.xml; MSI public properties such as ORGANIZATION (Managed deployment — Windows) |
| macOS | com.cloudflare.warp.plist under /Library/Managed Preferences or .mobileconfig (Managed deployment — macOS) |
| Linux | /var/lib/cloudflare-warp/mdm.xml (headless Linux tutorial) |
| iOS / Android | App configuration XML or JSON via MDM (Managed deployment — mobile) |
Full key lists are in deployment parameters.
Partner-specific walkthroughs: Intune, Jamf, Fleet, and Partners index.
Device enrollment permissions: who may register a device
Section titled “Device enrollment permissions: who may register a device”Device enrollment permissions are Access policies that control who can add a device to your Zero Trust organization.
Device enrollment permissions determine which users can connect new devices to your organization’s Cloudflare Zero Trust instance. Once the user registers their device, the Cloudflare One Client will store their identity token and use it to authenticate to services in your private network.
— Cloudflare, Device enrollment permissions
Configure enrollment in the dashboard
Section titled “Configure enrollment in the dashboard”- In the Cloudflare dashboard, go to Zero Trust > Team & Resources > Devices > Device profiles > Management.
- Under Device enrollment > Device enrollment permissions, select Manage.
- On the Policies tab, create Access policies (for example Include → Emails ending in →
@company.com). - On the Login methods tab, choose IdPs or one-time PIN; optionally enable Apply instant authentication to skip the Cloudflare Access chooser and go straight to SSO (Define device enrollment permissions).
- Select Save.
After users enroll, you can prevent them from leaving the org by disabling Allow devices to leave organization in device client settings (Device enrollment).
Manual enrollment flow (GUI)
Section titled “Manual enrollment flow (GUI)”Users install the client, choose Zero Trust security, enter the team name set at onboarding, and complete IdP auth (Manual deployment). Admins can distribute cf1app://oneapp.cloudflare.com/team?name=<your-team-name> or a QR code (Generate a login URL).
Service token enrollment: headless and automated registration
Section titled “Service token enrollment: headless and automated registration”For servers or devices without a browser, use a service token and a Service Auth enrollment policy—not an Allow policy.
Instead of requiring users to authenticate with their credentials, you can use a service token to enroll devices without any user interaction. Because users are not required to log in to an identity provider, identity-based policies cannot be enforced on these devices.
— Cloudflare, Device enrollment — Check for service token
Steps in brief:
- Create a service token and copy Client ID and Client Secret.
- Add an Access policy with Action Service Auth, Include → Service Token (headless Linux tutorial).
- Attach the policy to Device enrollment permissions.
- Put
auth_client_id,auth_client_secret, andorganizationin the MDM file (Device enrollment).
Enrolled service-token devices appear as non_identity@<team-name>.cloudflareaccess.com. For device profiles, prefer identity.service_token_uuid == "<SERVICE_TOKEN_ID>" (the token resource UUID, not auth_client_id) (Connect client devices — Mesh).
Verify on Linux:
sudo warp-cli --accept-tos registration showsudo warp-cli --accept-tos statusA redirect or HTTP success alone does not prove enrollment (headless Linux tutorial).
Reduce clicks during user-driven MDM enrollment
Section titled “Reduce clicks during user-driven MDM enrollment”To trim GUI steps without going fully headless (Register with minimal user interaction):
- Set
onboardingtofalseto skip Terms and Conditions screens. - Turn on Apply instant authentication when a single IdP handles enrollment.
- On Windows, install WebView2 and set registry
UseWebView2if the default browser blocks the protocol handler (Managed deployment — Windows).
Mobile platforms may still prompt for VPN profile or notifications even with service tokens (protocol handler guide).
Windows MDM: pre-login, multi-user, and no-auth-no-internet
Section titled “Windows MDM: pre-login, multi-user, and no-auth-no-internet”Windows pre-login (before user signs in to Windows)
Section titled “Windows pre-login (before user signs in to Windows)”Deploy pre_login with service token fields plus configs for the default org. The client uses this when no registration exists and the user has not logged into Windows; the device shows non_identity@<team-name>.cloudflareaccess.com until the user authenticates after login (Windows pre-login).
You can scope Gateway and device profile rules to that identity for AD or management traffic only during pre-login.
Multi-user mode
Section titled “Multi-user mode”Set multi_user to true in the MDM file so each Windows user can register separately; first-time enablement requires re-registration (Multiple users on a Windows device).
Block internet until authentication (no_auth_no_internet)
Section titled “Block internet until authentication (no_auth_no_internet)”Requires MDM deployment and WebView2 on supported Windows builds (Block internet access until user authenticates):
When the Cloudflare One Client reads this configuration and detects that no user is authenticated, it applies the firewall lockdown and prompts the user to authenticate. After successful authentication, the lockdown is completely lifted.
— Cloudflare, Block internet access until user authenticates
Set top-level no_auth_no_internet to true in the MDM payload.
Multiple Zero Trust organizations on one device
Section titled “Multiple Zero Trust organizations on one device”Use a configs array (up to 25 entries) with display_name for each org (Switch between Zero Trust organizations). Users pick a configuration in the client UI; only admins can add orgs via MDM.
Client version assignments from the dashboard
Section titled “Client version assignments from the dashboard”A deployment group links target client versions to device profile policy IDs (Client version assignments):
When you save a deployment group, the Cloudflare API pushes the assignment to every device whose device profile policy ID is in the group. Each device then: Compares its running version against the assigned version on its next registration refresh. If the versions differ, downloads the target installer and verifies its cryptographic signature. Runs the installer silently…
— Cloudflare, Client version assignments
From client 2026.6.0 onward, a dedicated updater OS service can install without the signed-in user being an administrator. Failed steps leave the device on the previous version. Dashboard-assigned devices suppress local Allow updates prompts.
Create groups under Zero Trust > Team & Resources > Devices > Management > Client version assignments, or use the Deployment Groups API (Zero Trust Write on the API token).
Updating via MDM alone means pushing a new installer binary with the same parameters as the initial install (Update the Cloudflare One Client).
Configure the client after deployment
Section titled “Configure the client after deployment”Use Configure the Cloudflare One Client for client modes, device profiles, managed networks, split tunnel routing, and sessions. If MDM pushes broad local keys, remove them so dashboard policies apply (Configure).
Optional MDM hardening: hardware_backed_registration in organization_configs (Hardware-backed registration); per-device unique_client_id from your MDM for posture (Device UUID).
Private network use cases (Tunnel, RDP, gRPC, SMB, SSH) consistently ask for the client in Traffic and DNS mode plus enrollment rules—for example Connect an IP/CIDR and SSH device client.
Common mistakes and troubleshooting
Section titled “Common mistakes and troubleshooting”| Mistake | Why it fails | What to do |
|---|---|---|
| Service token policy uses Allow instead of Service Auth | Enrollment API rejects registration | Fix policy action (Device enrollment) |
| Heavy MDM file duplicates dashboard settings | Local file wins; dashboard changes never apply | Strip MDM to organization / onboarding (MDM deployment learning path) |
warp-cli registration new “success” without browser finish |
CLI message is not proof of enrollment | Use warp-cli registration show; inspect enrollment HTTP response (Manual deployment — CLI) |
| macOS Intune LOB app type | Unsupported install path | Use .pkg app type (Intune — macOS caution) |
iOS auto_connect missing or 0 |
Registration stalls without user opening the app | Set auto_connect to 1 in app config (Intune — iOS) |
| Malformed MDM on device | Client errors | Review OS managed-deployment guide; validate MDM file (Client errors) |
Third-party VPNs or TLS inspection blocking Cloudflare API endpoints can break installs; allow listed IPs and SNIs from Download and install.
How to check this on your site
Section titled “How to check this on your site”- Confirm Device enrollment permissions policies and login methods in Zero Trust > Team & Resources > Devices.
- On a test device, complete enrollment and verify Connected in the client GUI (Manual deployment).
- In Zero Trust > Team & Resources > Devices, confirm the device appears with the expected user email or
non_identity@…for service tokens (Device enrollment). - On Linux or desktop CLI installs, run
warp-cli registration showandwarp-cli status(orwarp-cli --accept-toswhere required) (headless Linux tutorial). - You can check automatically in Answerwell (our tool): https://answerwell.org/workspace
Report an error or ask a question
Section titled “Report an error or ask a question”If something on this page does not match your environment or the official docs, email yimasynthetic@gmail.com with the page URL and the exact statement you think is wrong or unclear.