Intune
Retrieves a list of applications
The tenant to filter by
Applications retrieved successfully
Bad request
Unauthorized
Internal server error
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)
Application assigned successfully
Bad request
Unauthorized
Internal server error
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
Application removed successfully
Bad request
Unauthorized
Internal server error
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
Application queue retrieved successfully
Bad request
Unauthorized
Internal server error
GET /api/ListApplicationQueue HTTP/1.1
Host:
Accept: */*
[
{
"id": "text",
"applicationName": "text",
"status": "text"
}
]
Removes an application from the queue
The queue item ID
Queued application removed successfully
Bad request
Unauthorized
Internal server error
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)
MSP application added successfully
Bad request
Unauthorized
Internal server error
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)
Store application added successfully
Bad request
Unauthorized
Internal server error
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)
WinGet application added successfully
Bad request
Unauthorized
Internal server error
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)
Chocolatey application added successfully
Bad request
Unauthorized
Internal server error
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
Office application added successfully
Bad request
Unauthorized
Internal server error
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
Autopilot devices retrieved successfully
Bad request
Unauthorized
Internal server error
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
Autopilot device assigned successfully
Bad request
Unauthorized
Internal server error
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
Autopilot device removed successfully
Bad request
Unauthorized
Internal server error
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
Autopilot configurations retrieved successfully
Bad request
Unauthorized
Internal server error
GET /api/ListAutopilotConfig HTTP/1.1
Host:
Accept: */*
[
{
"id": "text",
"displayName": "text"
}
]
Retrieves a list of devices
The tenant to filter by
Devices retrieved successfully
Bad request
Unauthorized
Internal server error
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)
Device action executed successfully
Bad request
Unauthorized
Internal server error
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
Local admin password retrieved successfully
Bad request
Unauthorized
Internal server error
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
Recovery key retrieved successfully
Bad request
Unauthorized
Internal server error
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
Intune policies retrieved successfully
Bad request
Unauthorized
Internal server error
GET /api/ListIntunePolicy HTTP/1.1
Host:
Accept: */*
[
{
"id": "text",
"displayName": "text"
}
]
Adds a policy
Policy added successfully
Bad request
Unauthorized
Internal server error
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
Intune template added successfully
Bad request
Unauthorized
Internal server error
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
Policy assigned successfully
Bad request
Unauthorized
Internal server error
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
Policy removed successfully
Bad request
Unauthorized
Internal server error
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
Intune templates retrieved successfully
Bad request
Unauthorized
Internal server error
GET /api/ListIntuneTemplates HTTP/1.1
Host:
Accept: */*
[
{
"GUID": "text",
"displayName": "text"
}
]
Edits a template
The template ID
Template edited successfully
Bad request
Unauthorized
Internal server error
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
Community repository executed successfully
Bad request
Unauthorized
Internal server error
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
Intune template removed successfully
Bad request
Unauthorized
Internal server error
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
Intune scripts retrieved successfully
Bad request
Unauthorized
Internal server error
GET /api/ListIntuneScript HTTP/1.1
Host:
Accept: */*
[
{
"id": "text",
"displayName": "text"
}
]
Removes an Intune script
The script ID
Intune script removed successfully
Bad request
Unauthorized
Internal server error
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
Graph request data retrieved successfully
Bad request
Unauthorized
Internal server error
GET /api/ListGraphRequest HTTP/1.1
Host:
Accept: */*
{
"Results": [
{}
]
}
Retrieves a list of users
The tenant to filter by
Users retrieved successfully
Bad request
Unauthorized
Internal server error
GET /api/listUsers HTTP/1.1
Host:
Accept: */*
[
{
"userPrincipalName": "text",
"displayName": "text"
}
]
Searches the apps repository
The search query
Apps repository search results retrieved successfully
Bad request
Unauthorized
Internal server error
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
Potential apps search results retrieved successfully
Bad request
Unauthorized
Internal server error
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
Extensions configuration retrieved successfully
Bad request
Unauthorized
Internal server error
GET /api/ListExtensionsConfig HTTP/1.1
Host:
Accept: */*
{
"ANY_ADDITIONAL_PROPERTY": {
"Enabled": true
}
}
Retrieves a list of community repositories
The tenant to filter by
Community repositories retrieved successfully
Bad request
Unauthorized
Internal server error
GET /api/ListCommunityRepos HTTP/1.1
Host:
Accept: */*
[
{
"RepoURL": "text",
"RepoName": "text"
}
]
Last updated
Was this helpful?