microsoftgraph / microsoftgraph/msgraph-sdk-powershell
Get-MgDevice accepted parameter DeviceId is not relevant
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 898
- Forks
- 230
- Avg merge
- 2d 5h
- Merged PRs (30d)
- 31
Description
Get-MgDevice -DeviceId is quite confusing. As parameter accept Object Id instead of Device Id. When I query a device, Object Id output is Id.
I feel this is a design related issue. Accepted parameter requires a change. Command should be like Get-MgDevice -Id
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 locating the Get-MgDevice command and the definition of its accepted -DeviceId parameter. Check how the command exposes the device object's Id, then verify the requested parameter naming can be applied consistently; done means the command uses -Id instead of -DeviceId and the resulting help or behavior matches the request.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp, powershell
- Domain
- api, tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 32/100