msgraph-sdk-python icon indicating copy to clipboard operation
msgraph-sdk-python copied to clipboard

Wrongly defined `delta` on messages

Open Acurisu opened this issue 11 months ago • 0 comments

Describe the bug

We define a delta on messages (https://github.com/microsoftgraph/msgraph-sdk-python/blob/9542fa0b95c58822968116896048a00fe911eda4/msgraph/generated/users/item/messages/messages_request_builder.py#L140) that can be used like await client.users.by_user_id(some_id).messages.delta.get(), however the API doesn't support this (yet) and thus simply returns Unsupported request: Change tracking is not supported against 'microsoft.graph.message'.

Tracking changes on messages, according to the docs, only exists on a per mailfolder basis. message resource type

Expected behavior

Not having it defined (or get Graph API to finally support tracking).

How to reproduce

Given some GraphServiceClient client, a user or mailbox with id some_id and appropriate permissions call:

await client.users.by_user_id(some_id).messages.delta.get()

SDK Version

No response

Latest version known to work for scenario above?

No response

Known Workarounds

No response

Debug output

No response

Configuration

No response

Other information

Disclaimer this might as well not be a msgraph-sdk-python issue but generally wrongly defined in the msgraph-sdk. I'm reporting it here because I only checked here.

Acurisu avatar Jan 29 '25 08:01 Acurisu