pnp/cli-microsoft365

Bug report: teams channel member add doesn't support shared channels

Open

#7132 aperta il 16 feb 2026

Vedi su GitHub
 (1 commento) (1 reazione) (0 assegnatari)TypeScript (399 fork)auto 404
bughelp wanted

Metriche repository

Star
 (1390 star)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

Priority

(Low) Something is a little off

Description

The Microsoft Graph API supports adding members to a shared channel but the validation within the M365 CLI short circuits if it is not a private channel only.

Steps to reproduce

  1. Create a shared channel
  2. Call m365 teams channel member add and specify your channel ID
  3. Note the response fails

Expected results

The member should be added to the shared channel

Actual results

{"error":"The specified channel is not a private channel"}

Diagnostics

No response

CLI for Microsoft 365 version

v11.4.0

nodejs version

v25.6.0

Operating system (environment)

macOS

Shell

zsh

cli doctor

No response

Additional Info

No response

Guida contributor