Skip to content

New-MgGroupMember Missing from Docs #3751

Description

@mister-dj

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    status:waiting-for-triageAn issue that is yet to be reviewed or assignedtype:bugA broken experience

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions