
On the Additional information page, choose. To see this in action, create a new ASP.NET Core Web App project. When you select a URL, you're logged in without having to reenter your credentials.įor more information, see Connect to projects in Team Explorer. In the Connect to a Project dialog, select a project from the list (or select Add TFS Server and enter the URL to your server). Choose Manage Connections > Connect to a Project. Access your Azure DevOps organizationįrom the main menu, choose Team > Manage Connections to open the Team Explorer - Connect window. The Change Authentication dialog box appears where you can choose what kind of authentication to use in your application.įor more information about the different kinds of authentication in ASP.NET, see Create ASP.NET web projects in Visual Studio. In the New ASP.NET Core Web Application dialog box, choose the Web Application template, and then choose Change Authentication. To see this in action, create a new ASP.NET Core Web Application project. Microsoft 365 apps can also use domain authentication. Users that have access to your Active Directory domain can use their existing AAD accounts to connect to your web applications. Domain authentication is different from individual user account authentication. However, you do need to sign in to the other accounts the first time you attempt to access their resources from a different machine.Īccess Azure Active Directory in a Web projectĪzure Active Directory (AAD) enables support for end-user single sign-in in ASP.NET MVC web apps or AD authentication in web API services. You don't have to sign in separately to Azure.

The Connected Services window appears and shows you the list of services in the Azure account that's associated with your Visual Studio personalization account. Expand the Azure node and notice that it contains the resources available in the Azure account that's associated with the account that you used to sign in to Visual Studio. ::: moniker range=" Server Explorer (or, if you're using the "General" environment settings, press Ctrl+ Alt+ S). You should see your user name appear in the upper corner of the window, similar to this:

Sign into Visual Studio with a Microsoft account or an organizational account. You'll be prompted to enter credentials for those other accounts the first time you attempt to use their resources on a new machine. Azure, Application Insights, Azure DevOps, and Microsoft 365 services all support the streamlined sign-in experience.Īfter you add multiple accounts on one machine, that set of accounts roams with you if you sign in to Visual Studio on another machine.Īlthough the account names roam, the credentials do not. If you have multiple Microsoft accounts and/or work or school accounts, you can add them all to Visual Studio so that you can access the resources from any account without having to sign in to it separately.
TEAM EXPLORER CONNECT FOR VISUAL STUDIO COMMUNITY MAC HOW TO
It also shows you how to see the resources accessible from those accounts in places such as the Add Connected Service dialog and Server Explorer. This article shows you how to add multiple accounts to Visual Studio. It also shows you how to see the resources accessible from those accounts in places such as the Add Connected Service dialog, Server Explorer, and Team Explorer.
