microsoftgraph / microsoftgraph/msgraph-sdk-powershell
-Members should accept ids
Nobody has claimed this yet.
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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