microsoftgraph / microsoftgraph/msgraph-sdk-powershell

-Members should accept ids

Open
#3,120 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Bug: Documentation Question: SDK
Dominant language
C#
Stars
898
Forks
230
Avg merge
2d 5h
Merged PRs (30d)
31

Description

Is your feature request related to a problem? Please describe the problem.

New-MgGroup … -Members 70b5931c-98e4-4077-8e96-81b7a5b057ff,189d20f0-ab4e-4378-a728-3ea0b6f7b1a0

Returns

Error: "Cannot convert the "d7df1f72-6d53-4667-ba05-90a979412bb8" value of type "System.String" to type "Microsoft.Graph.PowerShell.Models.IMicrosoftGraphDirectoryObject"

Describe the solution you'd like.

I'd like the SDK to handle ids natively.

Additional context?

No response

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 by reproducing the New-MgGroup command with GUID strings in the -Members parameter and trace how that parameter is converted. Identify the SDK entry point responsible for accepting member values; done means IDs are accepted without the System.String-to-directory-object conversion error.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, powershell
Domain
api, cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 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.