The code in the startup.cs file is the same as when you call an API on behalf of a user, and the constructor of your controller or Razor page injects an ITokenAcquisition service. If you have an AAD ...
Results that may be inaccessible to you are currently showing.