androidForWorkGmailEasConfiguration resource type

Note: Using the Microsoft Graph APIs to configure Intune controls and policies still requires that the Intune service is correctly licensed by the customer.

By providing configurations in this profile you can instruct the Gmail email client on Android For Work devices to communicate with an Exchange server and get email, contacts, calendar, tasks, and notes. Furthermore, you can also specify how much email to sync and how often the device should sync.

Inherits from androidForWorkEasEmailProfileBase

Methods

Method Return Type Description
List androidForWorkGmailEasConfigurations androidForWorkGmailEasConfiguration collection List properties and relationships of the androidForWorkGmailEasConfiguration objects.
Get androidForWorkGmailEasConfiguration androidForWorkGmailEasConfiguration Read properties and relationships of the androidForWorkGmailEasConfiguration object.
Create androidForWorkGmailEasConfiguration androidForWorkGmailEasConfiguration Create a new androidForWorkGmailEasConfiguration object.
Delete androidForWorkGmailEasConfiguration None Deletes a androidForWorkGmailEasConfiguration.
Update androidForWorkGmailEasConfiguration androidForWorkGmailEasConfiguration Update the properties of a androidForWorkGmailEasConfiguration object.
List deviceConfigurationGroupAssignments deviceConfigurationGroupAssignment collection Get the deviceConfigurationGroupAssignments from the groupAssignments navigation property.
List deviceConfigurationDeviceStatuses deviceConfigurationDeviceStatus collection Get the deviceConfigurationDeviceStatuses from the deviceStatuses navigation property.
List deviceConfigurationUserStatuses deviceConfigurationUserStatus collection Get the deviceConfigurationUserStatuses from the userStatuses navigation property.
Get deviceConfigurationDeviceOverview deviceConfigurationDeviceOverview Get the deviceConfigurationDeviceOverview from the deviceStatusOverview navigation property.
Get deviceConfigurationUserOverview deviceConfigurationUserOverview Get the deviceConfigurationUserOverview from the userStatusOverview navigation property.
List settingStateDeviceSummaries settingStateDeviceSummary collection Get the settingStateDeviceSummaries from the deviceSettingStateSummaries navigation property.
Get androidForWorkCertificateProfileBase androidForWorkCertificateProfileBase Get the androidForWorkCertificateProfileBase from the identityCertificate navigation property.

Properties

Property Type Description
id String Key of the entity. Inherited from deviceConfiguration
lastModifiedDateTime DateTimeOffset DateTime the object was last modified. Inherited from deviceConfiguration
createdDateTime DateTimeOffset DateTime the object was created. Inherited from deviceConfiguration
description String Admin provided description of the Device Configuration. Inherited from deviceConfiguration
displayName String Admin provided name of the device configuration. Inherited from deviceConfiguration
version Int32 Version of the device configuration. Inherited from deviceConfiguration
authenticationMethod String Authentication method for Exchange ActiveSync. Inherited from androidForWorkEasEmailProfileBase Possible values are: usernameAndPassword, certificate.
durationOfEmailToSync String Duration of time email should be synced to. Inherited from androidForWorkEasEmailProfileBase Possible values are: userDefined, oneDay, threeDays, oneWeek, twoWeeks, oneMonth, unlimited.
emailAddressSource String Email attribute that is picked from AAD and injected into this profile before installing on the device. Inherited from androidForWorkEasEmailProfileBase Possible values are: userPrincipalName, primarySmtpAddress.
hostName String Exchange location (URL) that the mail app connects to. Inherited from androidForWorkEasEmailProfileBase
requireSsl Boolean Indicates whether or not to use SSL. Inherited from androidForWorkEasEmailProfileBase
usernameSource String Username attribute that is picked from AAD and injected into this profile before installing on the device. Inherited from androidForWorkEasEmailProfileBase Possible values are: username, userPrincipalName.

Relationships

Relationship Type Description
groupAssignments deviceConfigurationGroupAssignment collection The list of group assignments for the device configuration profile. Inherited from deviceConfiguration
deviceStatuses deviceConfigurationDeviceStatus collection Device configuration installation stauts by device. Inherited from deviceConfiguration
userStatuses deviceConfigurationUserStatus collection Device configuration installation stauts by user. Inherited from deviceConfiguration
deviceStatusOverview deviceConfigurationDeviceOverview Device Configuration devices status overview Inherited from deviceConfiguration
userStatusOverview deviceConfigurationUserOverview Device Configuration users status overview Inherited from deviceConfiguration
deviceSettingStateSummaries settingStateDeviceSummary collection Device Configuration Setting State Device Summary Inherited from deviceConfiguration
identityCertificate androidForWorkCertificateProfileBase Identity certificate. Inherited from androidForWorkEasEmailProfileBase

JSON Representation

Here is a JSON representation of the resource.

{
  "@odata.type": "#microsoft.graph.androidForWorkGmailEasConfiguration",
  "id": "String (identifier)",
  "lastModifiedDateTime": "String (timestamp)",
  "createdDateTime": "String (timestamp)",
  "description": "String",
  "displayName": "String",
  "version": 1024,
  "authenticationMethod": "String",
  "durationOfEmailToSync": "String",
  "emailAddressSource": "String",
  "hostName": "String",
  "requireSsl": true,
  "usernameSource": "String"
}