Skip to content

Remove-MgGroupConversation does not work #3420

@tld6764

Description

@tld6764

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions