Looking for a way to cycle through a fileCollection and check weather or not the file has been shared interally, externally or has unique permissions. I want to create a app to audit some of my O365 sites collections that have external sharing turned on.
You can check permission on list item with property “DoesUserHavePermissions”