Microsoft Graph Intune Autopilot Profile Assignment

John Hugery 1 Reputation point
2021-06-02T14:49:04.747+00:00

I am writing some scripts to automatically create Windows AutoPilot Profiles and then assign them to a group all using Microsoft Graph. The documentation for the profile assignment (located at https://learn.microsoft.com/en-us/graph/api/intune-shared-windowsautopilotdeploymentprofile-assign?view=graph-rest-beta) is inaccurate as the JSON for the assignments discusses assigning to deviceIDs. How do I assign the profile to a group using Graph? Where is the documentation for the URL and the JSON to create the assignments in Graph.

Microsoft Intune
Microsoft Intune
A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.
5,570 questions
{count} votes

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.