Skip to content
Control Plane Labs

449 Retry With (Exchange ActiveSync)

Client error response defined by learn.microsoft.com.

Written and maintained by Ben Ennis

Last reviewed November 23, 2026 · How we verify this

Common causes at a glance

  • A new device that has never provisioned with the server
  • A policy change on the server that invalidated the device's policy key
  • A scheduled policy refresh interval expiring
  • A pending remote wipe the device must pick up through Provision

Reproduce it

curl -si -X POST 'https://mail.example.com/Microsoft-Server-ActiveSync?Cmd=FolderSync&User=u&DeviceId=d1&DeviceType=test' -H 'MS-ASProtocolVersion: 12.1' -u user | head -1

What 449 Retry With (Exchange ActiveSync) means

449 is a provisioning prompt, not a failure. The device either has no policy key, holds an outdated one, or the server wants it to pick up a policy refresh or a remote wipe. Newer clients that speak ActiveSync 14.0 and later get the same news as a status value in the response body instead, such as 142 DeviceNotProvisioned or 144 InvalidPolicyKey. Only older protocol versions see it as an HTTP status.

Defined in Microsoft’s protocol docs, not an RFC

The MS-ASCMD common status codes table maps status values 140 through 144 to HTTP 449 when protocol version 2.5, 12.0 or 12.1 is used. MS-ASPROV specifies the Provision command the client must send, and MS-ASHTTP covers the transport and the MS-ASProtocolVersion header. Microsoft’s provisioning interoperability guidance adds client behaviour: provision immediately on a 449. If the 449s keep coming, suggest the user contact an administrator, and then try provisioning about once an hour.

What actually causes it

A single 449 followed by a successful Provision and a normal sync is the protocol working. A loop of 449s means the device can’t satisfy the policy, for example a device encryption or password requirement it doesn’t support, so every Provision attempt ends with the same prompt. Check the mobile device mailbox policy assigned to the user and whether the device’s ActiveSync version is new enough to report the specific status value instead.

How to debug it

Pull the device’s ActiveSync log or the server’s IIS log for /Microsoft-Server-ActiveSync and look for the request sequence. A healthy flow is 449, then Cmd=Provision, then 200. Then inspect the device partnership:

Get-MobileDeviceStatistics -Mailbox [email protected] | Format-List DeviceModel, LastPolicyUpdateTime, DevicePolicyApplicationStatus

Working examples

curl

# Old protocol version without a policy key: expect 449.
curl -si -X POST -u "$USER" \
  -H 'MS-ASProtocolVersion: 12.1' -H 'Content-Type: application/vnd.ms-sync.wbxml' \
  "https://mail.example.com/Microsoft-Server-ActiveSync?Cmd=FolderSync&User=$USER&DeviceId=test01&DeviceType=curl" | head -1

Python (requests)

import requests

r = requests.post(
    "https://mail.example.com/Microsoft-Server-ActiveSync",
    params={"Cmd": "FolderSync", "User": user, "DeviceId": "test01", "DeviceType": "py"},
    headers={"MS-ASProtocolVersion": "12.1"},
    auth=(user, password), timeout=15,
)
if r.status_code == 449:
    print("send Provision, store the new policy key, then retry")

Node (fetch)

const res = await fetch(url, {
  method: "POST",
  headers: { "MS-ASProtocolVersion": "12.1", authorization: basicAuth },
});
if (res.status === 449) console.log("provision required before retrying");

Reference and tooling

The authoritative list of assigned status codes is theIANA HTTP Status Code Registry. For a searchable copy with the semantics summarised, use theHTTP status code reference on this site. To see exactly what a server is sending, theheader inspector shows the raw status line and response headers, and thecurl builder assembles the request flags for you.

Other 4xx codes