SOLVED

getting and monitoring all channel chat messages of Tenant by using Graph API

Copper Contributor

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

@Eric_Chen 

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.

@Eric_Chen 

 

Can i ask what is the business need for monitoring all activities?

 

1 best response