Solution 1:
1) I tried with creating new ASP .NET MVC application project in Visual studio 2019 .click on the Change Under the Authentication

2) Select Work or School Accounts .

3) you can enter a domain name and also select the Read directory data option as desired. Developers typically include this option.

Solution 2:
1) Select the Project > Add Connected Service... menu command, or double-click the Connected Services node found under the project in Solution Explorer
2) On the Connected Services page, select Authentication with Azure Active Directory

3) On the Introduction page, select Next. If you see errors on this page, refer to Diagnosing errors with the Azure Active Directory Connected Service

4) On the Single-Sign On page, select a domain from the Domain drop-down list. The list contains all domains accessible by the accounts listed in the Account Settings dialog of Visual Studio (File > Account Settings...). As an alternative, you can enter a domain name if you don’t find the one you’re looking for, such as mydomain.onmicrosoft.com. You can choose the option to create an Azure Active Directory app or use the settings from an existing Azure Active Directory app. Select Next when done.

5) On the Directory Access page, select the Read directory data option as desired. Developers typically include this option.

6) Select Finish to start modifications to your project to enable Azure AD authentication
For more details refer this document