title: Blazor WASM Hosted AAD Auth - Get logged in Users Details and Photo after Authentication
body: <p>I am using the Visual Studio Blazor WASM Hosted template and have it all wired up with my Azure tenancy for user authentication just fine.</p>
  <p>What I'd like though is to show the user's profile picture in the App Bar, and then have information like thier Job Title and Department from Azure AD etc.</p>
  <p>On the Server Side of the solution I have built an API endpoint which is wired all the way through to MS Graph to get the users details, including their photo. (This works perfectly)</p>
  <p>On the Client project we have the following code inside Program.cs</p>
  <pre class="lang-cs prettyprint-override"><code>builder.Services.AddMsalAuthentication(options =&gt;
    {
      builder.Configuration.Bind(&quot;AzureAd&quot;, options.ProviderOptions.Authentication);
      options.ProviderOptions.DefaultAccessTokenScopes.Add(&quot;api:&lt;insertscopename&gt;&quot;);
    });
  </code></pre>
  <p>I assume this is the part which is wiring up the Auth process from the Client.</p>
  <p>Can I add anything to this so once Auth is confirmed, it will then call the required http request to my Server side to get the users details from Graph? Or even better, the Auth results contains this extra information.</p>