Adding Site Collection Admin To List Of Previous Employees OneDrive

%3CLINGO-SUB%20id%3D%22lingo-sub-1433361%22%20slang%3D%22en-US%22%3EAdding%20Site%20Collection%20Admin%20To%20List%20Of%20Previous%20Employees%20OneDrive%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1433361%22%20slang%3D%22en-US%22%3E%3CP%3EI%20am%20looking%20for%20a%20way%20to%20add%20a%20user%20as%20a%20secondary%20site%20collection%20admin%20to%20a%20list%20of%20users.%20We%20are%20closing%20a%20site%20and%20there%20are%20about%2050%20users%20that%20I%20need%20to%20give%20their%20manager%20access%20to%20their%20OneDrive%20data%20and%20doing%20it%20one%20by%20one%20in%20the%20portal%20will%20be%20very%20time%20consuming.%20Does%20anyone%20know%20of%20a%20powershell%20script%20that%20can%20accomplish%20his%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20in%20advance!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1433361%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EOneDrive%20for%20Business%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Highlighted
Contributor

I am looking for a way to add a user as a secondary site collection admin to a list of users. We are closing a site and there are about 50 users that I need to give their manager access to their OneDrive data and doing it one by one in the portal will be very time consuming. Does anyone know of a powershell script that can accomplish his?

 

Thanks in advance!

1 Reply