title: How do I implement Office 365 Authentication in ASP.NET Core and Blazor (Server-Client app)
body: <p>I have downloaded and installed "ASP.NET Core and Blazor updates in .NET Core 3.0 Preview 9".</p>
  
  <p>I wanted to implement Office 365 Authentication in ASP.NET Core and Blazor (Server-Client app).</p>
  
  <p>I have used two layout pages for login and admin panel. When user start the application then it reaches the login page (login.razor and its layout is LandingLayout). Once user successful office 365 logged in then it redirects to admin dashboard page (dashboard.razor and its layout is MainLayout).</p>
  
  <ul>
  <li>I need to show/hide menus based on user groups (from office 365 after
  successful login)</li>
  <li>How do I bind user information in Claim authentication</li>
  <li>How do I get user roles or groups from Office 365</li>
  <li>How do I get list of user emails from Office 365 with same domain
  logged in by admin user. This list of emails will bind in
  dropdownlist - select)</li>
  <li>How do I setup startup Razor Page instead of using index.html (in
  wwwroot Client app)</li>
  </ul>
  
  <p>Any help greatly appreciated!!</p>
  
  <p>Thanks and regards.</p>