Is there any way to assign Intune application to specific device?

Swahela Mulla 90 Reputation points
2023-05-30T07:07:42.2866667+00:00
  • I am attempting to assign an Intune app to a specific Intune device. However, I couldn't find any option to assign the app to a single device on the Intune portal.
  • My primary objective is to assign the Intune app to a particular device using PowerShell. The code I currently have is for group assignment, but I need assistance in modifying it for a single device assignment. Could anyone kindly help me with this.
$assignBody = @"
    {
        "target": {
            "@odata.type": "#microsoft.graph.groupAssignmentTarget",
            "deviceAndAppManagementAssignmentFilterId": null,
            "deviceAndAppManagementAssignmentFilterType": "none",
            "groupId": "$AzureADGroupID"
        },
    }
"@

User's image

Microsoft Intune
Microsoft Intune
A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.
4,692 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,288 questions
{count} votes

Accepted answer
  1. Crystal-MSFT 45,896 Reputation points Microsoft Vendor
    2023-05-31T02:16:38.7066667+00:00

    @Swahela Mulla, Thanks for posting in Q&A. Just as Rahul mentioned, you can create a group and add the specific device into this group members.

    https://learn.microsoft.com/en-us/mem/intune/fundamentals/groups-add

    After that, try the code in previously and add the groupid of the new group you created into the groupid part in the code.

    Hope the above information can help.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Pavel yannara Mirochnitchenko 12,411 Reputation points MVP
    2023-05-30T18:04:05.91+00:00

    There is no direct assignment, always use assigned or dynamic device group. Alternativelly, you could publish the app as available in Company Portal and let users install them who needs them.

    0 comments No comments