Millions of files migrated to One Drive for Business from a file server with inherited permissions

%3CLINGO-SUB%20id%3D%22lingo-sub-758529%22%20slang%3D%22en-US%22%3EMillions%20of%20files%20migrated%20to%20One%20Drive%20for%20Business%20from%20a%20file%20server%20with%20inherited%20permissions%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-758529%22%20slang%3D%22en-US%22%3E%3CP%3EWe%20have%20millions%20of%20files%20migrated%20to%20One%20Drive%20for%20Business%20from%20file%20server%20with%20%3CSPAN%3Einherited%26nbsp%3B%3C%2FSPAN%3Epermissions%20that%20was%20at%20the%20file%20server.%20The%20migration%20was%20done%20using%20Sharegate.Is%20there%20a%20way%20to%20delete%20the%20migrated%20inherited%20permissions%20at%20one%20drive%20for%20business.%20or%20workarounds%3F%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-758529%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAdmin%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EFiles%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ELimits%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EOffice%20365%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EOneDrive%20for%20Business%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EStorage%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESync%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-758775%22%20slang%3D%22en-US%22%3ERe%3A%20Millions%20of%20files%20migrated%20to%20One%20Drive%20for%20Business%20from%20a%20file%20server%20with%20inherited%20permissio%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-758775%22%20slang%3D%22en-US%22%3EIn%20SharePoint%20you%20used%20to%20be%20able%20to%20just%20go%20to%20the%20document%20library%20settings%20and%20permissions%20then%20click%20on%20delete%20unique%20permissions%20and%20that%20would%20basically%20wipe%20out%20all%20your%20sub%20permissions.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-758867%22%20slang%3D%22en-US%22%3ERe%3A%20Millions%20of%20files%20migrated%20to%20One%20Drive%20for%20Business%20from%20a%20file%20server%20with%20inherited%20permissio%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-758867%22%20slang%3D%22en-US%22%3EHi%20Chris%2C%3CBR%20%2F%3E%3CBR%20%2F%3EBut%20our%20case%20in%20One%20Drive%20for%20Business%20and%20I%20think%20it%20differs.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-758876%22%20slang%3D%22en-US%22%3ERe%3A%20Millions%20of%20files%20migrated%20to%20One%20Drive%20for%20Business%20from%20a%20file%20server%20with%20inherited%20permissio%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-758876%22%20slang%3D%22en-US%22%3EShouldn%E2%80%99t.%20It%E2%80%99s%20the%20same%20tech.%20But%20they%20have%20been%20changing%20how%20sharing%20links%20thou%20so%20it%20could%20change%20but%20have%20you%20tried%20it%3F%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-758879%22%20slang%3D%22en-US%22%3ERe%3A%20Millions%20of%20files%20migrated%20to%20One%20Drive%20for%20Business%20from%20a%20file%20server%20with%20inherited%20permissio%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-758879%22%20slang%3D%22en-US%22%3EOkay%2C%20I%20will%20try%20with%20the%20customer.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-760138%22%20slang%3D%22en-US%22%3ERe%3A%20Millions%20of%20files%20migrated%20to%20One%20Drive%20for%20Business%20from%20a%20file%20server%20with%20inherited%20permissio%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-760138%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F187246%22%20target%3D%22_blank%22%3E%40Mohammad%20Amer%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThis%20can%20be%20done%20thru%20PowerShell%20script%20as%20well.%20See%20following%20url%20hope%20this%20helps%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22http%3A%2F%2Fwww.sharepointdiary.com%2F2016%2F01%2Fsharepoint-online-delete-unique-permissions-using-powershell.html%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttp%3A%2F%2Fwww.sharepointdiary.com%2F2016%2F01%2Fsharepoint-online-delete-unique-permissions-using-powershell.html%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-776554%22%20slang%3D%22en-US%22%3ERe%3A%20Millions%20of%20files%20migrated%20to%20One%20Drive%20for%20Business%20from%20a%20file%20server%20with%20inherited%20permissio%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-776554%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F34656%22%20target%3D%22_blank%22%3E%40Ashish%20Kanoongo%3C%2FA%3E%26nbsp%3B%3CBR%20%2F%3EThanks%20for%20your%20reply.%3CBR%20%2F%3EIs%20there%20any%20workaround%20to%20delete%20group%20permission%20on%20files%20that%20are%20existing%20in%20One%20Drive%20for%20Business.%3CBR%20%2F%3EI%20mean%20a%20powershell%20script%20or%20PnP%20script%20manage%20and%20delete%20group%20permissions%20on%20these%20large%20amount%20of%20files%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-776610%22%20slang%3D%22en-US%22%3ERe%3A%20Millions%20of%20files%20migrated%20to%20One%20Drive%20for%20Business%20from%20a%20file%20server%20with%20inherited%20permissio%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-776610%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F187246%22%20target%3D%22_blank%22%3E%40Mohammad%20Amer%3C%2FA%3E%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F869%22%20target%3D%22_blank%22%3E%40Chris%20Webb%3C%2FA%3Eis%20correct%2C%20you%20can%20switch%20back%20to%20Classic%2C%20go%20to%20site%20content%2C%20documents%20and%20from%20there%20get%20to%20the%20permissions%20where%20as%20Chris%20says%20you%20can%20get%20to%20the%20setting%20'delete%20unique%20permisisons'.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-776621%22%20slang%3D%22en-US%22%3ERe%3A%20Millions%20of%20files%20migrated%20to%20One%20Drive%20for%20Business%20from%20a%20file%20server%20with%20inherited%20permissio%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-776621%22%20slang%3D%22en-US%22%3EThanks%20Tanya.%3CBR%20%2F%3EI%20have%20custom%20permissions%20that%20migrated%20from%20file%20server%20that%20will%20be%20lost.%20I%20need%20only%20to%20remove%20group%20permission.%3CBR%20%2F%3Edo%20you%20have%20workaround%3F%3CBR%20%2F%3E%3CBR%20%2F%3ERegards%2C%3CBR%20%2F%3EMohammad%20Amer%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-776652%22%20slang%3D%22en-US%22%3ERe%3A%20Millions%20of%20files%20migrated%20to%20One%20Drive%20for%20Business%20from%20a%20file%20server%20with%20inherited%20permissio%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-776652%22%20slang%3D%22en-US%22%3EYou%20made%20it%20sound%20like%20you%20wanted%20all%20permissions%20reset.%20If%20you%20copied%20these%20to%20a%20group%20site%20then%20you%E2%80%99ll%20have%20to%20go%20edit%20the%20members%20SharePoint%20group%20and%20remove%20the%20office%20365%20group%20from%20being%20a%20member%20of%20that%20group.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-776683%22%20slang%3D%22en-US%22%3ERe%3A%20Millions%20of%20files%20migrated%20to%20One%20Drive%20for%20Business%20from%20a%20file%20server%20with%20inherited%20permissio%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-776683%22%20slang%3D%22en-US%22%3EHi%20Chris%2C%3CBR%20%2F%3E%3CBR%20%2F%3ECan%20you%20please%20elaborate%20more%20your%20solution%20or%20workaround.%3CBR%20%2F%3E%3CBR%20%2F%3ERegards%2C%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-776684%22%20slang%3D%22en-US%22%3ERe%3A%20Millions%20of%20files%20migrated%20to%20One%20Drive%20for%20Business%20from%20a%20file%20server%20with%20inherited%20permissio%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-776684%22%20slang%3D%22en-US%22%3EYour%20talking%20about%20Office%20365%20group%20permissions%20you%20need%20to%20remove%20right%3F%20Maybe%20take%20some%20screenshots%20explaining%20your%20scenario%20because%20it's%20not%20very%20clear%20what%20your%20request%20is.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-776685%22%20slang%3D%22en-US%22%3ERe%3A%20Millions%20of%20files%20migrated%20to%20One%20Drive%20for%20Business%20from%20a%20file%20server%20with%20inherited%20permissio%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-776685%22%20slang%3D%22en-US%22%3EBut%20because%20it's%20onedrive%20I%20don't%20think%20it's%20office%20365%20group%20permissions%2C%20so%20I%20don't%20know%20what%20you%20mean%20by%20group%20permissions%20and%20custom%20permisisons.%20If%20the%20tool%20moved%20permissions%20over%2C%20then%20what%20is%20it%20you%20are%20trying%20to%20do%20if%20you%20aren't%20trying%20to%20get%20rid%20of%20all%20or%20them%20or%20reset%2C%20which%20is%20what%20my%20original%20option%20would%20do.%3C%2FLINGO-BODY%3E
Highlighted
Contributor

We have millions of files migrated to One Drive for Business from file server with inherited permissions that was at the file server. The migration was done using Sharegate.
Is there a way to delete the migrated inherited permissions at one drive for business. or workarounds? 

12 Replies
Highlighted
In SharePoint you used to be able to just go to the document library settings and permissions then click on delete unique permissions and that would basically wipe out all your sub permissions.
Highlighted
Hi Chris,

But our case in One Drive for Business and I think it differs.
Highlighted
Shouldn’t. It’s the same tech. But they have been changing how sharing links thou so it could change but have you tried it?
Highlighted
Highlighted
Highlighted

@Ashish Kanoongo 
Thanks for your reply.
Is there any workaround to delete group permission on files that are existing in One Drive for Business.
I mean a powershell script or PnP script manage and delete group permissions on these large amount of files?

Highlighted

@Mohammad Amer @Chris Webb is correct, you can switch back to Classic, go to site content, documents and from there get to the permissions where as Chris says you can get to the setting 'delete unique permisisons'.

Highlighted
Thanks Tanya.
I have custom permissions that migrated from file server that will be lost. I need only to remove group permission.
do you have workaround?

Regards,
Mohammad Amer
Highlighted
You made it sound like you wanted all permissions reset. If you copied these to a group site then you’ll have to go edit the members SharePoint group and remove the office 365 group from being a member of that group.
Highlighted
Hi Chris,

Can you please elaborate more your solution or workaround.

Regards,
Highlighted
Your talking about Office 365 group permissions you need to remove right? Maybe take some screenshots explaining your scenario because it's not very clear what your request is.
Highlighted
But because it's onedrive I don't think it's office 365 group permissions, so I don't know what you mean by group permissions and custom permisisons. If the tool moved permissions over, then what is it you are trying to do if you aren't trying to get rid of all or them or reset, which is what my original option would do.