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

  await super.onInit();

  // other init code may be present

  // this will use the ADAL client behind the scenes with no additional configuration work
  graph.setup(this.context);
}

// ...
</code></pre>
<h2 id="msal-client">MSAL Client<a class="headerlink" href="#msal-client" title="Permanent link">&para;</a></h2>
<p>You might want/need to use a client configured to use your own AAD application and not the shared SharePoint application. You can do so using the