Configuring Exchange for Gmail on Android
This article covers how to configure Exchange email accounts to Gmail on Android.
Device users will receive the app ready for use. The only thing the device users need to do is to authenticate themselves when launching the app.
Limitations
- You can configure only one email account per managed app
Preparations
- Managed Google Play Enterprise must be enabled and configured on the GoTo Resolve MDM site.
- This method is applicable to devices that are enrolled using Android Fully managed mode or Android Work profile.
- There must be a web browser in the work profile/managed device if multi-factor authentication is enabled for Exchange.
Configuration Steps
- Go to the GoTo Resolve MDM. Use the button to add the Gmail app to your GoTo Resolve MDM site from the managed Google Play Store. For instructions, see How to Add Managed Google Play Applications.
- Open the Gmail app's Configuration tab and define the following configuration keys:
- Setting: Email Address Value: This specifies the user's email address. It is recommended to use a variable from the drop-down list here.
- Setting: Hostname or Host Value: Enter here the hostname of your Exchange server. For example, "outlook.office365.com" for Office 365.
- Setting: SSL Required Value: Enabled (1). Check the check box. This setting is ignored if port 443 is used in the hostname.
- Setting: Username Value: Device owner's username. You can use a variable from the drop-down list.
You can add/remove configuration keys with the blue buttons.
If you import the usernames and email addresses from Microsoft AD, remember to use the variables imported from Active Directory for the configuration keys as shown in the picture below.
- After you have configured the app, you have to deploy Gmail app and the managed configuration to the device(s). There are two ways to do that:
- Go to the page. Choose the desired devices and select . Then select the managed configuration that you want to distribute to the device along with the application. Start the deployment by clicking the Deploy button at the end of the wizard.
- Go to the page. Choose the Gmail app and click the Deploy button. Select the managed configuration that you want to distribute to the device along with the application. Then select the device(s) to which you want to distribute the configuration along with the application. Start the deployment by clicking the Deploy button at the end of the wizard.
- You can follow up on the deployment from the page, or from the Device page of each target device.
Troubleshooting
Usually, the app appears as preconfigured for the user and the user can start using the app by entering their password.
How to Re-apply the Configurations
Sometimes, however, the configurations won't affect immediately after the app was deployed. In that case, you can try to reapply the app configurations using the
button which is located on the Gmail application page. This button can also be used to deploy configurations after changing them.Check the Variable Sources from User Pages
If the account does not seem to appear on the device, check the device user's User page in GoTo Resolve MDM. Make sure that the selected email address and user fields are correctly configured for the user in GoTo Resolve MDM.
MFA Enabled, but Browser Missing
Gmail app shows the error "Can't connect to the server. Try re-entering your password, or contact your IT admin for more information". This error can occur if multi-factor authentication (MFA) has been enabled for the Exchange account, but there is no compatible web browser available for completing the authentication.
You can solve the problem by deploying a browser to the managed device/profile. We have tested that the deployment of a managed Chrome or Firefox app solves the problem.