Fetch the Intune Assignment Groups
REST APIs are enabled with AdminStudio Enterprise Edition.
When you send this request, it returns all groups present in Intune, including IntuneGroupId and Group Name.
| Request Type | Description |
|---|---|
| API | http://localhost:8086/Catalog/ASIntuneGroups/?ConnectionName= <IntuneConnectionName> |
| Method | GET |
| Parameters | List all parameters in the following format: ConnectionName = Use to specify named connection to Intune deployment system By providing the ConnectionName as input parameters, it return all the groups present in Intune, including IntuneGroupId and Group Name. |
| 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/ASIntuneGroups/?ConnectionName= <IntuneConnectionName> Response: Return all the group names and their corresponding IDs present in the Intune. |