Skip to content

Commit a217924

Browse files
authored
Update service-principal-cli.md
1 parent 9488eff commit a217924

File tree

1 file changed

+1
-35
lines changed

1 file changed

+1
-35
lines changed

articles/communication-services/quickstarts/identity/includes/active-directory/service-principal-cli.md

Lines changed: 1 addition & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,6 @@
1-
---
2-
title: Create an Azure Active Directory Service Principal from the Azure CLI
3-
titleSuffix: An Azure Communication Services quickstart
4-
description: In this quick start we'll create an application and service principal to authenticate with Azure Communication Services.
5-
services: azure-communication-services
6-
author: jbeauregardb
7-
ms.service: azure-communication-services
8-
ms.subservice: identity
9-
ms.topic: quickstart
10-
ms.date: 06/30/2021
11-
ms.author: jbeauregardb
12-
ms.reviewer: mikben
13-
ms.custom: mode-api, devx-track-azurecli
14-
ms.devlang: azurecli
15-
---
16-
17-
# Quickstart: Authenticate using Azure Active Directory (Azure CLI)
18-
19-
The Azure Identity SDK provides Azure Active Directory (Azure AD) token authentication support for Azure SDK packages. The latest versions of the Azure Communication Services SDKs for .NET, Java, Python, and JavaScript integrate with the Azure Identity library to provide a simple and secure means to acquire an OAuth 2.0 token for authorization of Azure Communication Services requests.
20-
21-
An advantage of the Azure Identity SDK is that it enables you to use the same code to authenticate across multiple services whether your application is running in the development environment or in Azure.
22-
23-
The Azure Identity SDK can authenticate with many methods. In Development we'll be using a service principal tied to a registered application, with credentials stored in Environnment Variables this is suitable for testing and development.
24-
25-
## Prerequisites
1+
## Additional Prerequisites
262

273
- Azure CLI. [Installation guide](/cli/azure/install-azure-cli)
28-
- An Azure account with an active subscription. [Create an account for free](https://azure.microsoft.com/free)
294

305
## Setting Up
316

@@ -80,12 +55,3 @@ The Azure Identity SDK reads values from three environment variables at runtime
8055
> After you set the environment variables, close and re-open your console window. If you are using Visual Studio or another development environment, you may need to restart it in order for it to register the new environment variables.
8156
8257
Once these variables have been set, you should be able to use the DefaultAzureCredential object in your code to authenticate to the service client of your choice.
83-
84-
## Next steps
85-
86-
> [!div class="nextstepaction"]
87-
> [Learn about authentication](../../concepts/authentication.md)
88-
89-
You may also want to:
90-
91-
- [Learn more about Azure Identity library](/dotnet/api/overview/azure/identity-readme)

0 commit comments

Comments
 (0)