How to get all shared items in SharePoint Online and OneDrive for business


  • Hi all,

    If let's say we want to find all items (files, folders, others) in Sharepoint online and OneDrive for business of Office 365 that are being shared with people outside of an organization (known person or anonymously), how can we do this without visit all items in SharePoint/OneDrive? Can we do with something like OData where "select * where permission=shared"?

    any idea?


    Wednesday, March 23, 2016 2:34 AM

All replies

  • Hi Kenny,

    Thanks for posting in MSDN forum.

    This forum is for developers discussing developing issues involve Office product like Office customization and automation. Since the issue is more relative to SharePoint online, I would move it to Microsoft Online: SharePoint Online forum.

    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us. 

    Thanks for your understanding.

    Regards & Fei

    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Thursday, March 24, 2016 1:57 AM
  • Thanks Fei!  I couldn't find the online service when composing this question.
    Thursday, March 24, 2016 5:14 AM