Skip to content

Exchange account configuration (Android Enterprise work profile policy)

The Exchange account configuration lets you add an Exchange Online or Exchange Server email account to Gmail.


A managed configuration of the Gmail app conflicts with the Exchange account configuration, so it’s not available in Sophos Mobile 9.6 and later. If you’re using a managed configuration from an earlier version, Gmail will ignore the Exchange account configuration. This happens even if the managed configuration is blank.

For details on managed configurations, see Managed configuration.

Setting Description
Account name The account name.
Exchange server For Exchange Online, enter

For Exchange Server, enter your server URL.

Note that applies to the worldwide Microsoft 365 cloud. If you’re using a different Microsoft 365 cloud, such as Office 365 Germany, see the Microsoft document Office 365 URLs and IP address ranges.

When you use Exchange Server with the Sophos Mobile EAS proxy, enter its URL instead.

User The user's sign-in name.

For Exchange Online, this is usually the email address. Enter %_EMAILADDRESS_% to use the email address of the user assigned to the device.

For Exchange Server, enter %_USERNAME_% to use the name of the user assigned to the device.

Email address The email address of the account.

If you enter the variable %_EMAILADDRESS_%, the server replaces it with the actual email address.

Sender A sender name for this account.

If you enter the variable %_EMAILADDRESS_%, the server replaces it with the actual email address.

Default email signature The default email signature.
Authentication The type of authentication that Gmail uses when connecting to Exchange.
  • Modern authentication: Use modern authentication (OAuth 2.0).
  • Basic authentication: Use basic authentication (username and password).
  • Basic and modern authentication: Use modern or basic authentication, depending on which Exchange supports.
Synchronization period The time period used for synchronizing emails.

Only the emails from within the specified period are synchronized to the inbox on the managed device.

SSL/TLS The connection to the Exchange server is secured by SSL or TLS (depending on what the server supports).

We recommend that you select this check box.

Allow all certificates Allow all certificates in transfer processes from the email server.
Client certificate The client certificate for the connection to the Exchange server.