Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/eggstoastbacon/powershell---sharepoint-online-list
Fetch list items from a SharePoint online list using a login cookie instead of an api key. This has to make a few passes on the pages as these is a list view limit on the api. This requires an account with read access to the list.
https://github.com/eggstoastbacon/powershell---sharepoint-online-list
automation fetch list microsoft-accounts o365 office-365 online powershell powershell-script pull sharepoint sharepoint-framework sharepoint-lists sharepoint-online sponline
Last synced: 18 days ago
JSON representation
Fetch list items from a SharePoint online list using a login cookie instead of an api key. This has to make a few passes on the pages as these is a list view limit on the api. This requires an account with read access to the list.
- Host: GitHub
- URL: https://github.com/eggstoastbacon/powershell---sharepoint-online-list
- Owner: eggstoastbacon
- Created: 2020-02-16T02:28:25.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-02-16T05:50:09.000Z (almost 5 years ago)
- Last Synced: 2024-11-13T01:13:24.623Z (3 months ago)
- Topics: automation, fetch, list, microsoft-accounts, o365, office-365, online, powershell, powershell-script, pull, sharepoint, sharepoint-framework, sharepoint-lists, sharepoint-online, sponline
- Language: PowerShell
- Homepage:
- Size: 47.9 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# PowerShell---SharePoint-Online-List
Fetch list items from a SharePoint online list using a login cookie instead of an api key.
This has to make a few passes on the pages as these is a list view limit on the api.
We get around this limit by iterating through the pages and using $top in the query.
This requires an account with read access to the list.
This script could be used to create list backups or feed data into reporting systems that do not have a SharePoint online plugin.
Add your own filters by modifying the $uri variable.
Information on how to use some of the available filters here: https://social.technet.microsoft.com/wiki/contents/articles/35796.sharepoint-2013-using-rest-api-for-selecting-filtering-sorting-and-pagination-in-sharepoint-list.aspx
The cookie retrieve function is not my work, unfortunately the author is not in the comments of the function and it's been awhile since I obtained it. Many thanks to the author cookie retrieval script.