Adding Intune Assignments
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.
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:
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> |