Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Remove-MgGroupConversation does not work

未关闭
#3,420 3 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 2 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
35/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
停滞
技术栈
powershell
领域
api, tooling

调研方向

首先,在 SDK 版本 2.30.0 上使用 -groupid 和 -conversationid 开关重现 Remove-MgGroupConversation,然后将 cmdlet 请求与链接的 Microsoft Graph group-delete-conversation 文档进行比较。直接 HTTP 和 Graph Explorer 的结果应有助于确定问题出在 SDK 还是服务;当文档所述的删除返回 HTTP 204,或明确确定了该限制时,即表示完成。

由索引模型根据 Issue 内容生成。

描述

Service issue type:bug
Describe the bug

I am trying to use the Remove-MgGroupConversation command to remove an email from a M365 group mailbox.
I have the proper permissions, however I get the error "ConversationID isn't supported in the context of this operation."

Image
Expected behavior

Email should be deleted and a "HTTP/1.1 204 No Content" should be returned as stated here: https://learn.microsoft.com/en-us/graph/api/group-delete-conversation?view=graph-rest-1.0&tabs=http

How to reproduce

Execute the command with the "-groupid" and "-conversationid" switches.

SDK Version

2.30.0

Latest version known to work for scenario above?

N/A

Known Workarounds

N/A. Calling the graph API directly with a HTTP request or in the graph explorer generates the same reply.

Debug output

Remove-MgGroupConversation_Delete: ConversationId isn't supported in the context of this operation.

Status: 400 (BadRequest)
ErrorCode: ErrorInvalidOperation
Date:

Headers:
Cache-Control : private
Strict-Transport-Security : max-age=31536000
request-id : 717d975e-f807-4edb-8ca7-31d74a1e4fbe
client-request-id : d79542b9-5680-4873-8be1-9a34cb9b72b1
x-ms-ags-diagnostic : {"ServerInfo":{"DataCenter":"North Central US","Slice":"E","Ring":"4","ScaleUnit":"005","RoleInstance":"CH01EPF00077FDB"}}
Date : Thu, 16 Oct 2025 13:41:37 GMT

Recommendation: See service error codes: https://learn.microsoft.com/graph/errors

Configuration

Name Value


PSVersion 7.5.2
PSEdition Core
GitCommitId 7.5.2
OS Microsoft Windows 10.0.26100
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0

Other information

No response

主要语言
C#
星标
902
派生
233
平均合并
1 天 22 小时
30 天内合并 PR
29

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

microsoftgraph/msgraph-sdk-powershell 的其他 Issue

查看 microsoftgraph/msgraph-sdk-powershell 的全部 Issue

相似的 Issue

更多 C# Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。