lient.</p>
<blockquote>
<p>Note: you must install the @pnp/adaljsclient client package before using it</p>
</blockquote>
<pre><code class="language-TypeScript">import { AdalClient  } from &quot;@pnp/adaljsclient&quot;;
import { graph } from &quot;@pnp/graph/presets/all&quot;;

// ...

protected async onInit(): Promise&lt;void&gt; {

  await super.onInit();

  // other init code may be present

  graph.setup({
      graph: {
          fetchClientFactory: () =&gt; {
            return new AdalClient(
        