<!--
{
  "availability" : [
    "macOS: 10.7.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "DeviceManagement",
  "identifier" : "/documentation/DeviceManagement/ExchangeWebServices",
  "metadataVersion" : "0.1.0",
  "role" : "Device Management Profile",
  "symbol" : {
    "kind" : "Device Management Profile",
    "modules" : [
      "Device Management"
    ],
    "preciseIdentifier" : "mdm-profiles:ExchangeWebServices"
  },
  "title" : "ExchangeWebServices"
}
-->

# ExchangeWebServices

The payload that configures an Exchange Web Services accounts.

```
object ExchangeWebServices
```

## Discussion

Specify `com.apple.ews.account` as the payload type.

### Profile availability

|||
|--------------------------|-----|
|Device channel            |N/A  |
|User channel              |macOS|
|Allow manual install      |macOS|
|Requires supervision      |N/A  |
|Requires user-approved MDM|N/A  |
|Allowed in user enrollment|macOS|
|Allow multiple payloads   |macOS|

### Profile example

```plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
    <dict>
        <key>PayloadContent</key>
        <array>
            <dict>
                <key>EmailAddress</key>
                <string>juanchavez4@example.com</string>
                <key>ExternalHost</key>
                <string>host.example.com</string>
                <key>ExternalPath</key>
                <string></string>
                <key>ExternalSSL</key>
                <true/>
                <key>Host</key>
                <string>host.example.com</string>
                <key>MailNumberOfPastDaysToSync</key>
                <integer>0</integer>
                <key>Password</key>
                <string>Password123</string>
                <key>PayloadDisplayName</key>
                <string>Exchange Web Service</string>
                <key>PayloadIdentifier</key>
                <string>com.example.myewspayload</string>
                <key>PayloadType</key>
                <string>com.apple.ews.account</string>
                <key>PayloadUUID</key>
                <string>bb4adbbc-5516-45bb-bdee-cc7e47a5c5b5</string>
                <key>PayloadVersion</key>
                <integer>1</integer>
                <key>SSL</key>
                <true/>
                <key>UserName</key>
                <string>juanchavez4@example.com</string>
            </dict>
        </array>
        <key>PayloadDisplayName</key>
        <string>Exchange Web Service</string>
        <key>PayloadIdentifier</key>
        <string>com.example.myprofile</string>
        <key>PayloadType</key>
        <string>Configuration</string>
        <key>PayloadUUID</key>
        <string>ccb3eded-4486-4af8-81a3-add2d39cdfe7</string>
        <key>PayloadVersion</key>
        <integer>1</integer>
    </dict>
</plist>
```

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)