How to assign a group to a device configuration?

Shannon Hagmaier 20 Reputation points Microsoft Employee
2025-01-03T14:31:36.6333333+00:00

In C# I am using the graph sdk to create a device configuration and I am trying to assign it to a security group but keep getting an OData error message. I am following the instructions from this link: https://learn.microsoft.com/en-us/graph/api/intune-deviceconfig-deviceconfiguration-assign?view=graph-rest-1.0&tabs=csharp . Is there any other way to assign a group to a device configuration that was successfully created?

Microsoft Security | Intune | Other
Microsoft Security | Microsoft Graph
0 comments No comments
{count} votes

Answer accepted by question author
  1. Anonymous
    2025-01-06T02:14:45.3966667+00:00

    Hello Shannon Hagmaier,

    Thank you for reaching out to Microsoft Support!

    Graph API only provides the endpoint for assign device configuration, you can share your code and error information, we will help you further, or you can assign in Intune, the reference document is as follows:

    https://learn.microsoft.com/en-us/mem/intune/configuration/device-profiles

    Hope this helps.

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


0 additional answers

Sort by: Most helpful

Your answer

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