Exporting unique permission library

%3CLINGO-SUB%20id%3D%22lingo-sub-1934656%22%20slang%3D%22en-US%22%3EExporting%20unique%20permission%20library%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1934656%22%20slang%3D%22en-US%22%3E%3CP%3EHello%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20been%20looking%20around%20internet%20but%20not%20finding%20good%20script%20to%20export%20list%20of%20unique%20permission%20access%20list%20of%20document%20library.%3CBR%20%2F%3E%3CBR%20%2F%3EDo%20anyone%20have%20a%20script%20I%20can%20use%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1934656%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EFiles%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EPermissions%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EPowerShell%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%20Online%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1935955%22%20slang%3D%22de-DE%22%3ESubject%3A%20Exporting%20unique%20permission%20library%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1935955%22%20slang%3D%22de-DE%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F529592%22%20target%3D%22_blank%22%3E%40wilhan%3C%2FA%3E%26nbsp%3BThere%20are%20lots%20of%20permission-file-listing-apps%2C%20but%20I%20think%20the%20main%20issue%20you%20have%20with%20this%20is%3A%20If%20your%20users%20share%20links%20or%20have%20inconsistent%20permission%20levels%20this%20is%20the%20first%20level%20to%20permission%20chaos.%20Pls.%20tell%20me%20more%20about%20this%20library%3A%20If%20your%20files%20have%20different%20permissions%20on%20different%20people%20within%20this%20library%2C%20i%20suggest%20to%20set%20it%20back%20to%20no%20permissions%20at%20all.%20Then%20you%20have%20in%20default%203%20level%20groups%20in%20your%20library%3A%3C%2FP%3E%3CP%3E1)%20the%20%22Full%20Access%22%20level%20of%20asite%20owner%20(you%20I%20guess)%20gives%20permissions%20on%20persons%20within%20your%20tenant%20to%20be%20a%3C%2FP%3E%3CP%3Ea)%20%22Contribute%22%20Level%20of%20a%20Member%3A%20This%20Group%20of%20Users%20can%20not%20change%20the%20settings%20of%20the%20library%20like%20you%20do%20as%20owner.%20Members%20create%20files%20or%20change%20the%20properties%20of%20the%20file%20and%20they%20additionally%20can%20change%20or%20even%20delete%20other's%20files.%3C%2FP%3E%3CP%3Eb)%20in%20a%20library%20you%20can%20(site%20owner)%20set%20up%20user-defined%20lower%20level%20of%20Member%20with%20%22Contribute%22%20only%20for%20own%20files%2C%20not%20manipulate%20files%20of%20other%20members.%3C%2FP%3E%3CP%3Ec)%20If%20you%20don't%20trust%20your%20site%20members%20at%20all%2C%20you%20can%20give%20them%20a%20read-only%20status%20in%20a%20folder%20and%20this%20group%20can%20be%20allowed%20to%20read%20only%20the%20files%20within%2C%20not%20contribute.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESo%20please%20(!)%20dont%20give%20access%20to%20certain%20people%20on%20certain%20files.%20Although%20there%20are%20scripts%2C%20codes%20and%20apps%2C%20they%20try%20to%20get%20your%20money%20because%20you%20miss%20the%20knowledge%20of%20permissions%20in%20groups%20not%20in%20several%20users.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EGreets%2C%20Eva.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Contributor

Hello,

 

I have been looking around internet but not finding good script to export list of unique permission access list of document library.

Do anyone have a script I can use?

1 Reply

@Roiit There are lots of permission-file-listing-Apps, but I think the main issue you have with this is: If your users share links or have inconsistent permission levels this is the first level to permission chaos. Pls. tell me more about this library: If your files have different permissions on different people within this library, i suggest to set it back to no permissions at all. Then you have in default 3 level groups in your library:

1) the "Full Access" level of  asite owner (you  I guess) gives permissions on persons within your Tenant to be a

a) "Contribute" Level of a Member: This Group of Users can not change the settings of the library like you do as owner. Members create files or change the properties of the file and they additionally can change or even delete other's files.

b) in a library you can (site owner) set up user-defined lower level of Member with "Contribute" only for own files, not manipulate files of other members.

c) If you don't trust your site Members at all, you can give them a Read-Only Status in a folder and this group can be allowed to read only the files within, not contribute.

 

So please (!) dont give access to certain people on certain files. Although there are scripts, codes and Apps, they try to get your money because you miss the knowledge of permissions in groups not in several users. 

 

Greets, Eva.