

When you're prompted, install Azure CLI extensions on first use. For additional sign-in options, see Sign in with the Azure CLI. To finish the authentication process, follow the steps displayed in your terminal. If you're using a local installation, sign in to the Azure CLI by using the az login command. For more information, see How to run the Azure CLI in a Docker container. If you are running on Windows or macOS, consider running Azure CLI in a Docker container. If you prefer to run CLI reference commands locally, install the Azure CLI. For more information, see Azure Cloud Shell Quickstart - Bash. Use the Bash environment in Azure Cloud Shell. Prepare your environment for the Azure CLI. If not, add the client IP by following the steps at Manage server-level IP firewall rules using the Azure portal. To debug your app using SQL Database as the back end, make sure that you've allowed client connection from your computer. Alternatively, you can adapt the steps for your own. If you haven't already, follow one of the two tutorials first. This article continues where you left off in Tutorial: Build an ASP.NET app in Azure with SQL Database or Tutorial: Build an ASP.NET Core and SQL Database app in Azure App Service. If you don't have an Azure subscription, create a free account before you begin. For more information, see Azure AD Domain Services documentation. AD DS and Azure AD use completely different authentication protocols. Azure AD authentication is different from Integrated Windows authentication in on-premises Active Directory (AD DS).
