on-internet
← Community

How can I update a SharePoint Person field using Microsoft Graph without knowing the LookupId?

Stack Overflow ·

I am trying to update a SharePoint Person or Group field using the Microsoft Graph API. When PATCHing the list item's fields, it appears that the Person field needs to be updated using a LookupId, for example: PersonFieldLookupId: 123 However, I only know the user's email address/UPN and I cannot figure out where this LookupId comes from or how to retrieve it. Is there a Microsoft Graph endpoint that can return the SharePoint LookupId for a user based on their email address or UPN? If not, where is this LookupId stored in SharePoint, and what is the recommended way to retrieve it before PATCHi

Comments

Sign in or sign up to comment and upvote.

No comments yet.