Forum Discussion
Chitrarasan
Apr 20, 2021Copper Contributor
Microsoft Graph APi to create List item with PersonAndGroup
I'm trying to create a sharepoint list view item with one column of type personandgroup using graph API. The person or group is not part of sharepoint but its available in Microsoft 365. But Microso...
Altosio
Jun 10, 2022Copper Contributor
For some reason, this is not working for me. I am passing this JSON and using the Graph SDK (which is using the v1.0 endpoint)
{
"fields":{
"Title":"Test",
"Description":"TestDesc",
"Person":"12"
},
"@odata.type":"microsoft.graph.listItem"
}
The person is not filled in the Person column. Do you know what I might be doing wrong?
Thanks!
{
"fields":{
"Title":"Test",
"Description":"TestDesc",
"Person":"12"
},
"@odata.type":"microsoft.graph.listItem"
}
The person is not filled in the Person column. Do you know what I might be doing wrong?
Thanks!
Altosio
Jun 10, 2022Copper Contributor
Omg super tricky. I found it from your Bold font of username. I figured that I need to append "LookupId" to my column name. Why? Go figure.
Thanks!
Thanks!