Jul 01 2020 03:51 PM - edited Jul 01 2020 03:54 PM
I am trying to find an api using which I can get all files from all the teams/channels where particular user has access to.
I tried/used microsoft search api for files. but that return all files based on delegate access token user not specific to a particular user
For e.g:- If I generate delegate token using "sgupta" but now I have to use the api to find all the files accessible to "abhishek" . I can't achieve it.
I profiled the microsoft teams. they are grabbing all team site urls to get the files but that is not efficient call for a large organization
https://teams.microsoft.com/api/mt/apac/beta/teams/recent/files/aggregatefiles
Jul 07 2020 09:48 AM
@sgsmittal I solved it using microsoft search api using silent login to generate token specific to current user