Updating 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 updation of assignments.

Updating Intune Assignments

Request Type

Description

API

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

<ApplicationIDincatalog>&AssignmentID=<ExisitngAssignment>&GroupMode=<Included/Excluded>&InstallIntent=<Required/Availbleforenrolleddevices>

Method

POST

Parameters

List all parameters in the following format:

ApplicationID = Use to specify the ID for the application which contains the assignment.
AssignmentID = Use to specify the assignment ID which is being updated.
GroupMode = Use to specify the group mode.
InstallIntent = Use to specify the install intent.

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

Note:Based on the group of assignments the API will allow GroupMode or InstallIntent value to be updated.

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&AssignmentID=2&GroupMode=Included

(Updating Assignments with Group name)

Example:

http://localhost:8086/Catalog/ASAssignments/?ApplicationID=6&AssignmentID=3&InstallIntent=Required

(Updating Assignments with All Users/ All Devices)

Response:

<data>AssignmentID</data>