Need 2 scripts on urgent basis. Should not take long.
1. For SharePoint 2013 - I will have set of usernames in a csv file. The script will read each user one by one and go through all the web applications in the farm / every site collection in the web application / every subsite in the web application, remove the user from there. Then it will go through all the lists / document libraries and check for the user and remove the user if found. It will basically check all the groups and direct permissions also if given to the list / document library / subsite / site collection and remove the user. It should display me the list of places the user was found and removed from.
2. For SharePoint Online - Do the same thing as mentioned for SharePoint 2013 using CSOM.
15 freelancers are bidding on average $57 for this job
Hi, This is Kumar, having 11 years of SharePoint development experience. We have done this kind of script very recently. Let me know if we can discuss in detail.. Thanks & Regards, Kumar
Hi, I have 13 years of experience in SharePoint and .net and worked on multiple projects on all versions of SharePoint. Currently working on office 365.