Create mobileThreatDefenseConnector

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

Create a new mobileThreatDefenseConnector object.

Prerequisites

One of the following scopes is required to execute this API:

DeviceManagementServiceConfiguration.ReadWrite.All

HTTP Request

POST /deviceManagement/mobileThreatDefenseConnectors/

Request headers

Header Value
Authorization Bearer {token}. Required.
Accept application/json

Request body

In the request body, supply a JSON representation of a mobileThreatDefenseConnector object. The following table shows the properties that are required when you create a mobileThreatDefenseConnector.

Property Type Description
id String Not yet documented
lastHeartbeatDateTime DateTimeOffset Timestamp of last heartbeat after admin enabled option Connect to MTP
partnerState String Partner state of this tenant Possible values are: unavailable, available, enabled, unresponsive.
androidEnabled Boolean Android Toggle On or Off
androidDeviceBlockedOnMissingPartnerData Boolean For Android, Allows admin to config must receive data from the data sync partner prior to being considered compliant
iosDeviceBlockedOnMissingPartnerData Boolean For IOS, Allows admin to config must receive data from the data sync partner prior to being considered compliant
partnerUnsupportedOsVersionBlocked Boolean Allows admin to block devices on the enabled platforms that do not meet minimum version requirements
iosEnabled Boolean IOS Toggle On or Off
partnerUnresponsivenessThresholdInDays Int32 Get or Set days the per tenant tolerance to unresponsiveness for this partner integration

Response

If successful, this method returns a 201 Created response code and a mobileThreatDefenseConnector object in the response body.

Example

Request

Here is an example of the request.

POST https://graph.microsoft.com/beta/deviceManagement/mobileThreatDefenseConnectors/
Content-type: application/json
Content-length: 414

{
  "@odata.type": "#microsoft.graph.mobileThreatDefenseConnector",
  "lastHeartbeatDateTime": "2016-12-31T23:59:37.9174975-08:00",
  "partnerState": "available",
  "androidEnabled": true,
  "androidDeviceBlockedOnMissingPartnerData": true,
  "iosDeviceBlockedOnMissingPartnerData": true,
  "partnerUnsupportedOsVersionBlocked": true,
  "iosEnabled": true,
  "partnerUnresponsivenessThresholdInDays": 6
}

Response

Here is an example of the response. Note: The response object shown here may be truncated for brevity. All of the properties will be returned from an actual call.

HTTP/1.1 201 Created
Content-Type: application/json
Content-Length: 463

{
  "@odata.type": "#microsoft.graph.mobileThreatDefenseConnector",
  "id": "e4bede14-de14-e4be-14de-bee414debee4",
  "lastHeartbeatDateTime": "2016-12-31T23:59:37.9174975-08:00",
  "partnerState": "available",
  "androidEnabled": true,
  "androidDeviceBlockedOnMissingPartnerData": true,
  "iosDeviceBlockedOnMissingPartnerData": true,
  "partnerUnsupportedOsVersionBlocked": true,
  "iosEnabled": true,
  "partnerUnresponsivenessThresholdInDays": 6
}