CIPP icon

CIPP

Interact with CIPP API

Actions129

Overview

This node operation assigns an application in Microsoft Intune to specified targets such as all users, all devices, both, or a custom group. It is useful for automating app deployment across an organization's devices or user groups managed via Intune. For example, an IT admin can use this node to assign a new corporate app to all employees or to a specific security group automatically.

Use Case Examples

  1. Assign a corporate app to all users in the tenant.
  2. Assign an app to a specific device group for testing purposes.

Properties

Name Meaning
Tenant Filter The default .onmicrosoft.com tenant name to specify the Intune tenant context for the operation.
App ID The unique identifier of the application to be assigned in Intune.
Assign To Specifies the target of the app assignment, such as all users, all devices, both, or a custom group.
Custom Group The ID of the custom group to assign the app to, required if 'Assign To' is set to 'Custom Group'.
Request Options Additional request settings such as batching, SSL certificate validation, proxy configuration, and timeout settings to control the API request behavior.

Output

JSON

  • assignmentStatus - Indicates the success or failure status of the app assignment operation.
  • assignedTo - Specifies the target entity (users, devices, or group) to which the app was assigned.
  • appId - The application ID that was assigned.
  • tenantFilter - The tenant context under which the assignment was made.

Dependencies

  • Requires authentication credentials to access the Microsoft Intune API, typically an API key or OAuth token.

Troubleshooting

  • Ensure the Tenant Filter is correctly set to the valid .onmicrosoft.com tenant name to avoid authentication errors.
  • Verify the App ID is correct and corresponds to an existing application in Intune to prevent assignment failures.
  • If assigning to a custom group, confirm the Custom Group ID is valid and the user has permissions to assign apps to that group.
  • Check network settings if using a proxy or if SSL certificate validation is disabled, as these can cause connectivity issues.
  • Timeout errors may occur if the server is slow to respond; adjust the timeout setting accordingly.

Links

Discussion