Create telecomExpenseManagementPartner

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 telecomExpenseManagementPartner object.

Prerequisites

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

DeviceManagementServiceConfig.ReadWrite.All

HTTP Request

POST /deviceManagement/telecomExpenseManagementPartners/

Request headers

Header Value
Authorization Bearer <token> Required.
Accept application/json

Request body

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

Property Type Description
id String Unique identifier of the TEM partner.
displayName String Display name of the TEM partner.
url String URL of the TEM partner's administrative control panel, where an administrator can configure their TEM service.
appAuthorized Boolean Whether the partner's AAD app has been authorized to access Intune.
enabled Boolean Whether Intune's connection to the TEM service is currently enabled or disabled.
lastConnectionDateTime DateTimeOffset Timestamp of the last request sent to Intune by the TEM partner.

Response

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

Example

Request

Here is an example of the request.

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

{
  "@odata.type": "#microsoft.graph.telecomExpenseManagementPartner",
  "displayName": "Display Name value",
  "url": "Url value",
  "appAuthorized": true,
  "enabled": true,
  "lastConnectionDateTime": "2016-12-31T23:58:36.6670033-08:00"
}

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: 297

{
  "@odata.type": "#microsoft.graph.telecomExpenseManagementPartner",
  "id": "47a3b399-b399-47a3-99b3-a34799b3a347",
  "displayName": "Display Name value",
  "url": "Url value",
  "appAuthorized": true,
  "enabled": true,
  "lastConnectionDateTime": "2016-12-31T23:58:36.6670033-08:00"
}