In this blog. I have explained how to update the user profile property using pnp js library. Note:- It works only on SharePoint online itself. not working for