title: Blazor Server Graph API .NET 6
body: <p>I'm trying to implement graph API for a blazor server app with .NET 6; but I can't find any documentation- the only blazor server ones i can find are .NET5 or lower using the startup/program.cs</p>
  <p>And the only .NET 6 I see is for Blazor WASM.</p>
  <p><a href="https://docs.microsoft.com/en-us/aspnet/core/blazor/security/webassembly/graph-api?view=aspnetcore-6.0" rel="nofollow noreferrer">https://docs.microsoft.com/en-us/aspnet/core/blazor/security/webassembly/graph-api?view=aspnetcore-6.0</a></p>
  <p><a href="https://docs.microsoft.com/en-us/azure/active-directory/develop/tutorial-blazor-server" rel="nofollow noreferrer">https://docs.microsoft.com/en-us/azure/active-directory/develop/tutorial-blazor-server</a></p>
  <p>in the latter link, the code provided does not work because it returns the error '. There is no registered service of type 'Microsoft.Identity.Web.ITokenAcquisition' and the solutions involve startup.cs</p>
  <p>Can anyone provide any documentation or a point in the right direction?</p>