microsoftgraph / microsoftgraph/msgraph-sdk-dotnet

ReferenceCreate is not part of Users to set the primary user of a Managed Device

Open
#2,387 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Bug: metadata OpenApi
Dominant language
C#
Stars
789
Forks
264
Avg merge
15h 17m
Merged PRs (30d)
3

Description

We want to set the primary user of a ManagedDevice. So Intune already calls this endpoint:
(https://graph.microsoft.com/beta/deviceManagement/managedDevices('deviceId')/users/$ref

Ref is not part of in the SDK so far.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Microsoft Graph beta endpoint deviceManagement/managedDevices('deviceId')/users/$ref described in the issue and inspect how the SDK exposes the ManagedDevice users relationship. Done means the SDK provides the missing reference operation needed to set a ManagedDevice's primary user and verifies that request against the endpoint.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
api
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.