Closed
Description
Perhaps I am doing something wrong, but I cannot seem to get any fields other than Id when getting list items from SharePoint. I have a list with custom columns for Category, Description, and TeamLink, but when I run the following command, all I get back in the "fields" set of properties is "Id":
Get-MgSiteListItem -ListId $listId -SiteId $SiteId -ExpandProperty "fields(`$select=Title,Description,ID,Category)"
Get-MgSiteListItem -ListId $listId -SiteId $SiteId -ExpandProperty "fields" also only returns Id in the set of fields
Metadata
Metadata
Assignees
Labels
No labels