I am new to SharePoint framework and in one of the requirement I need to use the pnp spfx PeoplePicker, I have a List which is in different site collection. i.e. my List resides in Site A and I have a form at Site B which inserts PeoplePicker values in that list. when PeoplePicker values are inserted from same site collection i.e when form is submitted from the Site A where the List is, the values gets properly inserted, but when form is submitted from the different Site B or Site C the values differ in the List column. the value(user) submitted show different person or group in List column.

Is there a that a site context created for the selected site by and then that site context will passed in PeoplePicker context prop so it behaves same across site collections. I am stuck at this since a week now. any help or hint will be greatly appreciated.

1 Answer 1


This is happening because same user has different user Id in different site (collections).

The user Id & information is stored in hidden User Information List at site collection level.

You can read more about user information list at: User Information List in SharePoint All details

So here is what you can try:

Before saving people picker data in list in different site collection, ensure that user is already added in new site collection & get user Id from that site collection.

Then set person or group column using the ID you get from different site collection.

  • 1
    thanks! it solved the issue by following the mentioned steps, I really hope it is not just another hack to fix the issue.
    – Asad_code
    Commented May 10, 2021 at 10:45
  • 2
    Great, glad it worked for you. This is not a temporary hack. This is the only way to save the user data correctly to specific site collection. Commented May 10, 2021 at 10:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.