Forum Discussion
Eric_Chen
Aug 27, 2020Copper Contributor
getting and monitoring all channel chat messages of Tenant by using Graph API
We are doing a project to use Graph API to get as much as possible information to monitor all users actions in Tenant.
Currently, looking for a method to get all channel message, referring to below Doc,
https://docs.microsoft.com/en-us/graph/api/channel-list-messages?view=graph-rest-beta&tabs=http
and we have applied and granted the permission for the API.
But, I found the API just fetch all history messages, it doesn't support filters, so it is not possible fetch all messages daily, like we did for other information fetching.
Is there any simply way for it? like fetch data by "startDateTime=xxxxxx, EndDateTime=xxxxxxx"
3 Replies
Sort By
- Yoav CrombieIron Contributor
- huali2020Copper Contributor
Hi Eric Chen,
Can you list the private channels' chat messages? I am doing it now, but I can not read the private channels' messages if I am not in the private channel.