microsoftgraph / microsoftgraph/msgraph-sdk-powershell
Add PS native support for `@odata.bind`
Open
Nobody has claimed this yet.
Request: Feature
- Dominant language
- C#
- Stars
- 898
- Forks
- 230
- Avg merge
- 2d 5h
- Merged PRs (30d)
- 31
Description
We should add PowerShell native support for navigation properties that support @odata.bind.
Current experience
$OwnersBinding = @{
"owners@odata.bind" = @("https://graph.microsoft.com/v1.0/users/$($User.Id)")
}
New-MgGroup -DisplayName 'PSGraphTest' `
-MailNickname 'PSGraphTest' `
-MailEnabled:$false `
-SecurityEnabled `
-AdditionalProperties $OwnersBinding
Proposed experience
$Owner1 = @{
Id = $UserId,
Type = "User"
}
New-MgGroup -DisplayName 'PSGraphTest' `
-MailNickname 'PSGraphTest' `
-MailEnabled:$false `
-SecurityEnabled `
-Owners @($Owner1)
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
The issue names no source files or tests. Start with New-MgGroup and compare the current AdditionalProperties form with the proposed -Owners form; confirm the intended behavior for navigation properties supporting @odata.bind. Done means the proposed example works without AdditionalProperties and the behavior is covered by the project's relevant tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- powershell
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100