Intermittent discrepancy in delta API behaviour for Delete Message for MS Teams

%3CLINGO-SUB%20id%3D%22lingo-sub-2039364%22%20slang%3D%22en-US%22%3EIntermittent%20discrepancy%20in%20delta%20API%20behaviour%20for%20Delete%20Message%20for%20MS%20Teams%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2039364%22%20slang%3D%22en-US%22%3E%3CP%3EIt%20has%20been%20observed%20that%20there%20is%20change%20in%20endpoint%20API%20behavior%20for%20Delete%20Message%20operation%20for%20MS%20Teams.%20If%20we%20are%20deleting%20some%20message%20from%20endpoint%20it's%20not%20taking%20the%20latest%20time.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAPI%20Used%3A%20%3CSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fgraph.microsoft.com%2Fbeta%2Fteams%2Fxxxxxxxxxxxxxxxxxxx%2Fchannels%2F%2Fxxxxxxxxxxxxxxxxxxx%2Fmessages%2Fdelta%3F%24filter%3DlastModifiedDateTime%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgraph.microsoft.com%2Fbeta%2Fteams%2Fxxxxxxxxxxxxxxxxxxx%2Fchannels%2F%2Fxxxxxxxxxxxxxxxxxxx%2Fmessages%2Fdelta%3F%24filter%3DlastModifiedDateTime%3C%2FA%3E%20%3CSPAN%3Egt%202021-01-07T08%3A42%3A50.356Z%3C%2FSPAN%3E%3CBR%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EFor%20example%20if%20I%20am%20deleting%20an%20existing%20message%20at%20%3CSPAN%3E2021-01-07T08%3A46%3A45.241Z%20%3C%2FSPAN%3Ein%20response%20I%20am%20getting%20%3CSPAN%3E%22deletedDateTime%22%3C%2FSPAN%3E%3CSPAN%3E%3A%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22%3C%2FSPAN%3E%3CSPAN%3E2021-01-07T08%3A39%3A50.356Z%3C%2FSPAN%3E%3CSPAN%3E%22%3CBR%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CFONT%20color%3D%22%23000000%22%3E%3CSPAN%3EWhereas%20we%20should%20get%20the%20exact%20time%20in%20response%20at%20which%20we%20have%20deleted%20the%20message.%3C%2FSPAN%3E%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CFONT%20color%3D%22%23000000%22%3E%3CSPAN%3EMostly%20facing%20this%20issue%20for%20deleting%20old%20messages.%3C%2FSPAN%3E%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2039364%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EMicrosoft%20Teams%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2042802%22%20slang%3D%22en-US%22%3ERe%3A%20Intermittent%20discrepancy%20in%20delta%20API%20behaviour%20for%20Delete%20Message%20for%20MS%20Teams%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2042802%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F122989%22%20target%3D%22_blank%22%3E%40cstest%20cstest%3C%2FA%3E%26nbsp%3B%20%3A%20We%20are%20investigating%20this%20internally%2C%20and%20will%20update%20you%20with%20resolution.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Contributor

It has been observed that there is change in endpoint API behavior for Delete Message operation for MS Teams. If we are deleting some message from endpoint it's not taking the latest time.

 

API Used: https://graph.microsoft.com/beta/teams/xxxxxxxxxxxxxxxxxxx/channels//xxxxxxxxxxxxxxxxxxx/messages/de... gt 2021-01-07T08:42:50.356Z

 

For example if I am deleting an existing message at 2021-01-07T08:46:45.241Z in response I am getting "deletedDateTime""2021-01-07T08:39:50.356Z"

 

Whereas we should get the exact time in response at which we have deleted the message.

 

Mostly facing this issue for deleting old messages.

 

2 Replies

@cstest cstest  : We are investigating this internally, and will update you with resolution.

@cstest cstest , we aren't able to repro this issue. Could you please send us the link of documentation along with request and response body, this will helps us solve this issue quickly.