Skip to main content

Adding Intune Assignments

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.

Request TypeDescription
APIhttp://localhost:8086/Catalog/ASAssignments/?ApplicationID= <ApplicationIDincatalog>&InstallIntent=<Required/Availbleforenrolleddevices>&GroupMode=<Included/Excluded>&AssignmentType=<AddGroup/AllUsers/AllDevices>
MethodPOST
ParametersList 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. If AssignmentType is set to AddGroup , then the Group parameter will be mandatory. 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 InfoProvides the connection information of the package as mentioned in Setting Up Connection to Run REST APIs
ResponseExample: 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>