TIP – Python Key Error on Traversing SharePoint List

SharePoint, with its powerful collaboration and document management capabilities, is widely used in various organizations. Python, being a versatile programming language, is often employed to interact with SharePoint data using APIs. However, traversing SharePoint lists can sometimes lead to a common stumbling block – the elusive Python KeyError. This error can be solved easily by…

Export Sharepoint List to CSV

This script will assist in exporting the Sharepoint List contents in csv format. It would be useful in scenarios where you want to export list & further feed some other system to complete further processing. Example which is being shared was used in one of the automation where IT people can fill the form for…

SharePoint 2010 List Archiving/ Retention

Hi Readers, Recently during automation of one of the scenario, we required that items in SharePoint list are deleted after 90 days but the list should be archived as CSV to file share before removal. First part we can do via IRM but to accomplish both scenarios we have to do custom scripting, so again…