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

Swahela Mulla 95 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

Windows for business | Windows Server | User experience | PowerShell
Microsoft Security | Intune | Other
{count} votes

Accepted answer
  1. Crystal-MSFT 53,991 Reputation points Microsoft External Staff
    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 13,336 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

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.