python-o365 icon indicating copy to clipboard operation
python-o365 copied to clipboard

Return limitation shared items

Open SaadAmien20 opened this issue 1 year ago • 1 comments

I was Using the library and It was working fine, but I faced an issue because of that all of files shared in teams and the library list only 500 item, but the actual folders I need, I can't get it. I want if I am able to get only shared folders in OneDrive, not all thing shared in Microsoft teams, SharePoint or get all shared items and after that I can condition on what folder I need exactly. I use my_drive = storage.get_default_drive('OneDrive')

So how to solve this issue?

Thanks

SaadAmien20 avatar Aug 22 '24 11:08 SaadAmien20

We use MS Graph under the hood. If it's possible to do what you want there it should be possible to do it in O365.

Can you check MS Graph to see if this is possible?

alejcas avatar Sep 10 '24 14:09 alejcas

yeah I used ms graph and the limitation from their side, I tried with that api: https://graph.microsoft.com/v1.0/me/insights/shared.

Thanks,

SaadAmien20 avatar Nov 24 '24 06:11 SaadAmien20