SOLVED

Export "people who use this link"

%3CLINGO-SUB%20id%3D%22lingo-sub-1095990%22%20slang%3D%22en-US%22%3EExport%20%22people%20who%20use%20this%20link%22%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1095990%22%20slang%3D%22en-US%22%3E%3CP%3ERegarding%20External%20sharing%2C%3C%2FP%3E%3CP%3EHow%20can%20export%20the%20accounts%20which%20are%20shared%20for%20each%20document%20folder%20of%20external%20sharing%20site%3F%3CBR%20%2F%3ECurrently%20I%20know%20to%20see%20the%20accounts%20by%20the%20following%20way%20but%20cannot%20copy%20them.%3C%2FP%3E%3CP%3E%3CBR%20%2F%3EShared%20Library%20%26gt%3B%20(each)%20document%20folder%20%26gt%3B%20details%20%26gt%3B%20manage%20access%20%26gt%3B%20shows%20people%20who%20use%20this%20link%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1095990%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3ESharePoint%20Online%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1096186%22%20slang%3D%22en-US%22%3ERe%3A%20Export%20%22people%20who%20use%20this%20link%22%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1096186%22%20slang%3D%22en-US%22%3E%3CP%3EYou%20can%20use%20the%20Graph%20API%20for%20that%2C%20I%20have%20a%20sample%20script%20here%3A%20%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fpractical365.com%2Fclients%2Fonedrive%2Freporting-on-onedrive-for-business-shared-files%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fpractical365.com%2Fclients%2Fonedrive%2Freporting-on-onedrive-for-business-shared-files%2F%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIt's%20for%20ODFB%2C%20but%20easily%20adaptable%20for%20SPO.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1096206%22%20slang%3D%22en-US%22%3ERe%3A%20Export%20%22people%20who%20use%20this%20link%22%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1096206%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F58%22%20target%3D%22_blank%22%3E%40Vasil%20Michev%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThank%20you%2C%20Vasil.%3C%2FP%3E%3CP%3EI%20will%20try%20your%20suggestion.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1098109%22%20slang%3D%22en-US%22%3ERe%3A%20Export%20%22people%20who%20use%20this%20link%22%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1098109%22%20slang%3D%22en-US%22%3EI%20understood%20Graph%20API%20realizes%20what%20I%20want.%3CBR%20%2F%3EBut%20unfortunately%2C%20I%20cannot%20have%20enough%20permission%20because%20I%20am%20not%20an%20administrator.%20I%20just%20have%20%22limited%20access%22%20for%20the%20subsite.%3CBR%20%2F%3E%3CBR%20%2F%3EAnyway%2C%20I%20think%20External%20Sharing%20should%20be%20able%20to%20export%20the%20accounts%20who%20can%20use%20the%20folder%20by%20quick%20action%20even%20if%20the%20subsite%20owner.%3CBR%20%2F%3E%3CBR%20%2F%3EThank%20you%20for%20your%20help.%3C%2FLINGO-BODY%3E
New Contributor

Regarding External sharing,

How can export the accounts which are shared for each document folder of external sharing site?
Currently I know to see the accounts by the following way but cannot copy them.


Shared Library > (each) document folder > details > manage access > shows people who use this link

3 Replies
Best Response confirmed by Akimi1885 (New Contributor)
Solution

You can use the Graph API for that, I have a sample script here:  https://practical365.com/clients/onedrive/reporting-on-onedrive-for-business-shared-files/

 

It's for ODFB, but easily adaptable for SPO.

@Vasil Michev 

Thank you, Vasil.

I will try your suggestion.

I understood Graph API realizes what I want.
But unfortunately, I cannot have enough permission because I am not an administrator. I just have "limited access" for the subsite.

Anyway, I think External Sharing should be able to export the accounts who can use the folder by quick action even if the subsite owner.

Thank you for your help.