Create telecomExpenseManagementPartner
Note: The Microsoft Graph API for Intune requires an active Intune license for the tenant.
Create a new telecomExpenseManagementPartner object.
Prerequisites
One of the following permissions is required to call this API. To learn more, including how to choose permissions, see Permissions.
Permission type | Permissions (from most to least privileged) |
---|---|
Delegated (work or school account) | DeviceManagementServiceConfig.ReadWrite.All |
Delegated (personal Microsoft account) | Not supported. |
Application | Not supported. |
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 for the telecomExpenseManagementPartner object.
The following table shows the properties that are required when you create the 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/v1.0/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"
}
Feedback
Loading feedback...