pnp/cli-microsoft365
在 GitHub 查看Bug report: teams channel member add doesn't support shared channels
Open
#7,132 创建于 2026年2月16日
bughelp wanted
仓库指标
- Star
- (1,390 star)
- PR 合并指标
- (PR 指标待抓取)
描述
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
- Create a shared channel
- Call
m365 teams channel member addand specify your channel ID - 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