Failing to run two pnp batch commands in spBeforeSave event

Hello @Andrew,

Have you tested your code outside of spBeforeSave event? Are you getting any errors?

If no, you can try to run the code under spSaved, please find the code example in this post: