Skip to content

Commit b25ed6f

Browse files
authored
Merge pull request #88628 from cephalin/issue#37830b
#37835
2 parents 823ab83 + 8d0106b commit b25ed6f

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

articles/app-service/app-service-web-tutorial-connect-msi.md

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ ms.workload: web
1212
ms.tgt_pltfrm: na
1313
ms.devlang: dotnet
1414
ms.topic: tutorial
15-
ms.date: 08/06/2019
15+
ms.date: 09/16/2019
1616
ms.author: cephalin
1717
ms.custom: mvc
1818
---
@@ -78,12 +78,24 @@ For more information on adding an Active Directory admin, see [Provision an Azur
7878

7979
## Set up Visual Studio
8080

81-
To enable development and debugging in Visual Studio, add your Azure AD user in Visual Studio by selecting **File** > **Account Settings** from the menu, and click **Add an account**.
81+
### Windows
82+
Visual Studio for Windows is integrated with Azure AD authentication. To enable development and debugging in Visual Studio, add your Azure AD user in Visual Studio by selecting **File** > **Account Settings** from the menu, and click **Add an account**.
8283

8384
To set the Azure AD user for Azure service authentication, select **Tools** > **Options** from the menu, then select **Azure Service Authentication** > **Account Selection**. Select the Azure AD user you added and click **OK**.
8485

8586
You're now ready to develop and debug your app with the SQL Database as the back end, using Azure AD authentication.
8687

88+
### MacOS
89+
90+
Visual Studio for Mac is not integrated with Azure AD authentication. However, the [Microsoft.Azure.Services.AppAuthentication](https://www.nuget.org/packages/Microsoft.Azure.Services.AppAuthentication) library that you will use later can use tokens from Azure CLI. To enable development and debugging in Visual Studio, first you need to [install Azure CLI](https://docs.microsoft.com/cli/azure/install-azure-cli) on your local machine.
91+
92+
Once Azure CLI is installed on your local machine, sign in to Azure CLI with the following command using your Azure AD user:
93+
94+
```bash
95+
az login --allow-no-subscriptions
96+
```
97+
You're now ready to develop and debug your app with the SQL Database as the back end, using Azure AD authentication.
98+
8799
## Modify your project
88100

89101
The steps you follow for your project depends on whether it's an ASP.NET project or an ASP.NET Core project.

0 commit comments

Comments
 (0)