microsoftgraph / microsoftgraph/msgraph-sdk-powershell

New-MgGroupMember Missing from Docs

Open Beginner friendly
#3,751 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

status:waiting-for-triage type:bug
Dominant language
C#
Stars
898
Forks
230
Avg merge
2d 5h
Merged PRs (30d)
31

Description

Describe the bug

The New-MgGroupMember is shipped with the current version of Microsoft.Graph.Groups but is missing documentation.

Running "Get-Help New-MgGroupMember -Examples" shows "{{ Add code here }}" in the examples.

Running Get-Help with the -Online switch opens https://learn.microsoft.com/en-us/powershell/module/microsoft.graph.groups/new-mggroupmember which returns HTTP 404 not found.

Expected behavior

Get-Help returns help comment text for New-MgGroupMember, and the MS Learn docs has a page for it.

How to reproduce

Get-Help New-MgGroupMember -Online
Get-Help New-MgGroupMember -Examples

SDK Version

2.39.0

Latest version known to work for scenario above?

No response

Known Workarounds

No response

Debug output

PS C:\temp> Get-Help New-MgGroupMember -Online -Debug
VERBOSE: Help URI: https://learn.microsoft.com/powershell/module/microsoft.graph.groups/new-mggroupmember

Confirm
Continue with this operation?
[Y] Yes [A] Yes to All [H] Halt Command [S] Suspend [?] Help (default is "Y"): n

PS C:\temp> Get-Help New-MgGroupMember -Examples -Debug

NAME
New-MgGroupMember

SYNOPSIS
Add a member to an Office 365 group or security group through the members navigation property.

-------------------------- EXAMPLE 1 --------------------------

PS > {{ Add code here }}






-------------------------- EXAMPLE 2 --------------------------

PS > {{ Add code here }}
Configuration

PS C:\temp> $PSVersionTable

Name Value


PSVersion 7.6.5
PSEdition Core
GitCommitId 7.6.5
OS Microsoft Windows 10.0.26200
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.4
SerializationVersion 1.1.0.1
WSManStackVersion 3.0

PS C:\temp> Get-Module microsoft.graph.groups -ListAvailable

Directory: C:\Users\<USER>\OneDrive\Documents\PowerShell\Modules

ModuleType Version PreRelease Name PSEdition ExportedCommands


Script 2.39.0 Microsoft.Graph.Groups Core,Desk {Add-MgGroupFavorite, Add-MgGroupToLifecyclePolicy, Confirm-MgGroupGrantedPermissionForApp, Confirm-MgGroupMemberGroup…}
Script 2.38.1 Microsoft.Graph.Groups Core,Desk {Add-MgGroupFavorite, Add-MgGroupToLifecyclePolicy, Confirm-MgGroupGrantedPermissionForApp, Confirm-MgGroupMemberGroup…}

Other information

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 at the New-MgGroupMember cmdlet and reproduce the issue with Get-Help New-MgGroupMember -Examples and Get-Help New-MgGroupMember -Online. Trace where its help comments and MS Learn page are generated or maintained; done means the examples no longer show placeholders and the online documentation URL returns the cmdlet page.

Written by the indexing model from the issue text.

Assessment

Tech stack
powershell
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Active
Clarity
Clearly specified
Newbie friendliness
78/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.