Forum Discussion

cstest cstest's avatar
cstest cstest
Copper Contributor
Jan 07, 2021

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

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/delta?$filter=lastModifiedDateTime 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.

 

Resources