New command: add new list item
See original GitHub issueAdd new list item to the specified list
- command:
spo listitem add -w|--webUrl <webUrl> -l|--listId [listId] --listTitle [listTitle] -c|--contentType [contentType] -f|--folder [folder] ... - webUrl: The URL of the site where the list from which to retrieve items is located
- listId: The ID of the list from which to retrieve items
- listTitle: The title of the list from which to retrieve items
- contentType: The name or the ID of the content type to associate with the new item
- folder: The list-relative URL of the folder where the item should be created
- …: this command should allow using unknown properties. Each property corresponds to the list item field that should be set when creating the item. Standard properties such as webUrl, listId, listTitle, option, verbose and debug should be excluded from the SharePoint request
- either listId or listTitle must be specified to retrieve the list, but not both
- requires connection to a SharePoint site
For more information see the Add-PnPListItem cmdlet
Issue Analytics
- State:
- Created 6 years ago
- Comments:14 (11 by maintainers)
Top Results From Across the Web
SharePoint Online: Add New List Item using PowerShell
Log in to your SharePoint site and navigate to the list that you want to add an item to. · Click on the...
Read more >Add list items - Microsoft Support
In list view, you can add a single item by using the + New command. In grid view, you can add several items....
Read more >How to create new command that will produce list of items ...
macros - How to create new command that will produce list of items while changing formatting of single item - TeX - LaTeX...
Read more >How To add Elements to a List in Python - DigitalOcean
The new list will contain elements from the list from left to right. It's similar to the string concatenation in Python.
Read more >New command: add new list item · Issue #270 - GitHub
Add new list item to the specified list. command: spo listitem add -w|--webUrl <webUrl> -l|--listId [listId] --listTitle [listTitle] ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

You could then use a command parameter like:
–SinglePeopleField “[{‘Key’:‘i:0#.f|membership|markh@conotoso.com’}]”
Got this from @mpowney spo list add command.
@mpowney, got another update on the
AddValidateUpdateItemUsingPath()method. It’s now officially documented and fully supported for use by third parties (docs available at https://github.com/SharePoint/sp-dev-docs/blob/master/docs/sp-add-ins/working-with-lists-and-list-items-with-rest.md#create-list-item-in-a-folder and will be published soon). We’re good to go. Once again thanks for pointing it out 👍