2 = await sp.web.lists.getByTitle(&quot;My List&quot;).fields.addLookup(&quot;My Field&quot;, {LookupListId: list.data.Id, LookupFieldName: &quot;Title&quot;});

// we can use this 'field' variable to run more queries on the field:
const r = await field.field.select(&quot;Id&quot;)();

// log the field Id to console
console.log(r.Id);

// **
// Adding a lookup that supports multiple values takes two calls:
const fieldAddResult = await sp.web.fields.addLookup(&quot;Multi Lookup Field&quot;, { LookupListId: l