determine request urls as well as use the SPFx HttpGraphClient within @pnp/graph. To establish context within the library you will need to use the SharePoint or Graph Factory Interface depending on which set of APIs you want to utilize. For SharePoint you will use the <code>spfi</code> interface and for the Microsoft Graph you will use the <code>graphfi</code> interface whic are both in the main export of the corresponding package. Examples of both methods are shown below.</p>
<p>Depending on how you archit