Adding Intune Assignments

AdminStudio 2024 R2 | 28.0 | AdminStudio REST APIs

Edition:REST APIs are enabled with AdminStudio Enterprise Edition.

When you send this request, return the value of the Assignment ID upon a successful addition of assignments.

Adding Intune Assignments

Request Type

Description

API

http://localhost:8086/Catalog/ASAssignments/?ApplicationID=

<ApplicationIDincatalog>&InstallIntent=<Required/Availbleforenrolleddevices>&GroupMode=<Included/Excluded>&AssignmentType=<AddGroup/AllUsers/AllDevices>

Method

POST

Parameters

List all parameters in the following format:

ApplicationID = Use to specify the ID for the application which contains the assignment
GroupMode = Use to specify the group mode.
InstallIntent = Use to specify the install intent.
AssignmentType = Use to specify the assignment type.
Group = Use to specify the group.

Note:If AssignmentType is set to AddGroup, then the Group parameter will be mandatory.

Note:The API will disregard if any additional parameters or values provided during the update.

By providing the parameters, it return the value of the Assignment ID upon a successful update.

Connection Info

Provides the connection information of the package as mentioned in Setting Up Connection to Run REST APIs 

Response

Example:

http://localhost:8086/Catalog/ASAssignments/?ApplicationID=6&InstallIntent=Required&GroupMode=Included&AssignmentType=AllUsers

Example:

http://localhost:8086/Catalog/ASAssignments/?ApplicationID=6&InstallIntent=Required&GroupMode=Excluded&AssignmentType=AddGroup&Group=AS2

Response:

<data>AssignmentID</data>