Intune
Retrieves a list of applications
The tenant to filter by
GET /api/ListApps HTTP/1.1
Host:
Accept: */*
[
{
"id": "text",
"displayName": "text",
"publishingState": "text",
"installCommandLine": "text",
"uninstallCommandLine": "text"
}
]
Assigns an application to users or devices
Who to assign the application to
The application ID
Custom group names (if AssignTo is customGroup)
POST /api/ExecAssignApp HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 56
{
"AssignTo": "AllUsers",
"ID": "text",
"customGroup": "text"
}
{
"Results": {}
}
Removes an application
The application ID
POST /api/RemoveApp HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 13
{
"ID": "text"
}
{
"Results": {}
}
Retrieves a list of applications in the queue
The tenant to filter by
GET /api/ListApplicationQueue HTTP/1.1
Host:
Accept: */*
[
{
"id": "text",
"applicationName": "text",
"status": "text"
}
]
Removes an application from the queue
The queue item ID
POST /api/RemoveQueuedApp HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 13
{
"ID": "text"
}
{
"Results": {}
}
Adds an MSP vendor application
The display name of the application
Parameters specific to the RMM tool
Who to assign the application to
Custom group names (if AssignTo is customGroup)
POST /api/AddMSPApp HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 168
{
"selectedTenants": [
{
"defaultDomainName": "text",
"customerId": "text"
}
],
"rmmname": {
"value": "datto"
},
"displayName": "text",
"params": {},
"AssignTo": "On",
"customGroup": "text"
}
{
"Results": {}
}
Adds a store application
The package identifier
The application name
The application description
Whether to mark for uninstallation
Who to assign the application to
Custom group names (if AssignTo is customGroup)
POST /api/AddStoreApp HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 200
{
"selectedTenants": [
{
"defaultDomainName": "text",
"customerId": "text"
}
],
"packagename": "text",
"applicationName": "text",
"description": "text",
"InstallationIntent": true,
"AssignTo": "On",
"customGroup": "text"
}
{
"Results": {}
}
Adds a WinGet application
The package identifier
The application name
The application description
Whether to mark for uninstallation
Who to assign the application to
Custom group names (if AssignTo is customGroup)
POST /api/AddwinGetApp HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 200
{
"selectedTenants": [
{
"defaultDomainName": "text",
"customerId": "text"
}
],
"packagename": "text",
"applicationName": "text",
"description": "text",
"InstallationIntent": true,
"AssignTo": "On",
"customGroup": "text"
}
{
"Results": {}
}
Adds a Chocolatey application
The package name
The application name
The application description
Custom repository URL
Whether to install as system
Whether to disable restart
Whether to mark for uninstallation
Who to assign the application to
Custom group names (if AssignTo is customGroup)
POST /api/AddChocoApp HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 265
{
"selectedTenants": [
{
"defaultDomainName": "text",
"customerId": "text"
}
],
"packagename": "text",
"applicationName": "text",
"description": "text",
"customRepo": "text",
"InstallAsSystem": true,
"DisableRestart": true,
"InstallationIntent": true,
"AssignTo": "On",
"customGroup": "text"
}
{
"Results": {}
}
Adds a Microsoft Office application
Whether to use shared computer activation
Whether to use 64-bit
Whether to remove other versions
Whether to accept the license
Who to assign the application to
POST /api/AddOfficeApp HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 276
{
"selectedTenants": [
{
"defaultDomainName": "text",
"customerId": "text"
}
],
"excludedApps": [
{
"value": "access"
}
],
"updateChannel": {
"value": "current"
},
"languages": [
{
"value": "text"
}
],
"SharedComputerActivation": true,
"arch": true,
"RemoveVersions": true,
"AcceptLicense": true,
"AssignTo": "On"
}
{
"Results": {}
}
Retrieves a list of Autopilot devices
The tenant to filter by
GET /api/ListAPDevices HTTP/1.1
Host:
Accept: */*
[
{
"id": "text",
"displayName": "text",
"serialNumber": "text",
"model": "text",
"manufacturer": "text",
"groupTag": "text",
"enrollmentState": "text"
}
]
Assigns an Autopilot device to a user
The device ID
The serial number of the device
The user principal name
POST /api/ExecAssignAPDevice HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 53
{
"device": "text",
"serialNumber": "text",
"user": "text"
}
{
"Results": {}
}
Removes an Autopilot device
The device ID
POST /api/RemoveAPDevice HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 13
{
"ID": "text"
}
{
"Results": {}
}
Retrieves a list of Autopilot configurations
The type of configuration to retrieve
The tenant to filter by
GET /api/ListAutopilotConfig HTTP/1.1
Host:
Accept: */*
[
{
"id": "text",
"displayName": "text"
}
]
Retrieves a list of devices
The tenant to filter by
GET /api/ListDevices HTTP/1.1
Host:
Accept: */*
[
{
"id": "text",
"displayName": "text",
"manufacturer": "text",
"model": "text",
"osVersion": "text",
"lastSyncDateTime": "text"
}
]
Executes an action on a device
The action to perform
The device ID
The new device name (for Rename action)
POST /api/ExecDeviceAction HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 60
{
"Action": "Reboot",
"DeviceID": "text",
"NewDeviceName": "text"
}
{
"Results": {}
}
Retrieves the local admin password for a device
The device ID
POST /api/ExecGetLocalAdminPassword HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 19
{
"DeviceID": "text"
}
{
"Results": {}
}
Retrieves the recovery key for a device
The device ID
POST /api/ExecGetRecoveryKey HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 19
{
"DeviceID": "text"
}
{
"Results": {}
}
Retrieves a list of Intune policies
The type of policy to retrieve
The tenant to filter by
GET /api/ListIntunePolicy HTTP/1.1
Host:
Accept: */*
[
{
"id": "text",
"displayName": "text"
}
]
Adds a policy
POST /api/AddPolicy HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 43
{
"selectedTenants": [
{
"customerId": "text"
}
]
}
{
"Results": {}
}
Adds an Intune template
The type of template
POST /api/AddIntuneTemplate HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 15
{
"Type": "text"
}
{
"Results": {}
}
Assigns a policy
Who to assign the policy to
The policy ID
POST /api/ExecAssignPolicy HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 35
{
"AssignTo": "AllUsers",
"ID": "text"
}
{
"Results": {}
}
Removes a policy
The policy ID
POST /api/RemovePolicy HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 13
{
"ID": "text"
}
{
"Results": {}
}
Retrieves a list of Intune templates
Whether to view the templates
The tenant to filter by
GET /api/ListIntuneTemplates HTTP/1.1
Host:
Accept: */*
[
{
"GUID": "text",
"displayName": "text"
}
]
Edits a template
The template ID
POST /api/ExecEditTemplate HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 15
{
"GUID": "text"
}
{
"Results": {}
}
Executes a community repository
The repository URL
POST /api/ExecCommunityRepo HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 18
{
"RepoURL": "text"
}
{
"Results": {}
}
Removes an Intune template
The template ID
POST /api/RemoveIntuneTemplate HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 13
{
"ID": "text"
}
{
"Results": {}
}
Retrieves a list of Intune scripts
The tenant to filter by
GET /api/ListIntuneScript HTTP/1.1
Host:
Accept: */*
[
{
"id": "text",
"displayName": "text"
}
]
Removes an Intune script
The script ID
POST /api/RemoveIntuneScript HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 13
{
"ID": "text"
}
{
"Results": {}
}
Retrieves data from a Graph API request
The tenant to filter by
The Graph API endpoint
GET /api/ListGraphRequest HTTP/1.1
Host:
Accept: */*
{
"Results": [
{}
]
}
Retrieves a list of users
The tenant to filter by
GET /api/listUsers HTTP/1.1
Host:
Accept: */*
[
{
"userPrincipalName": "text",
"displayName": "text"
}
]
Searches the apps repository
The search query
POST /api/ListAppsRepository HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 17
{
"search": "text"
}
{
"Results": [
{
"packagename": "text",
"applicationName": "text",
"description": "text"
}
]
}
Searches for potential apps
The search query
The type of apps to search for
POST /api/ListPotentialApps HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 39
{
"searchString": "text",
"type": "WinGet"
}
{
"data": [
{
"packagename": "text",
"applicationName": "text",
"description": "text"
}
]
}
Retrieves the configuration for extensions
GET /api/ListExtensionsConfig HTTP/1.1
Host:
Accept: */*
{
"ANY_ADDITIONAL_PROPERTY": {
"Enabled": true
}
}
Retrieves a list of community repositories
The tenant to filter by
GET /api/ListCommunityRepos HTTP/1.1
Host:
Accept: */*
[
{
"RepoURL": "text",
"RepoName": "text"
}
]
Last updated
Was this helpful?