Skip to content

Commit 6fc7146

Browse files
Merge pull request #273057 from vac0224/vc-resources-acs-2024-04-26
Updates
2 parents 4a83e90 + 403ab5c commit 6fc7146

File tree

5 files changed

+48
-46
lines changed

5 files changed

+48
-46
lines changed

articles/communication-services/quickstarts/create-communication-resource.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ ms.devlang: azurecli
1616
---
1717
# Quickstart: Create and manage Communication Services resources
1818

19-
Get started with Azure Communication Services by provisioning your first Communication Services resource. Communication Services resources can be provisioned through the [Azure portal](https://portal.azure.com) or with the .NET management SDK. The management SDK and the Azure portal enable you to create, configure, update, and delete your resources and interface with [Azure Resource Manager](../../azure-resource-manager/management/overview.md), Azure's deployment and management service. All functions available in the SDKs are available in the Azure portal.
19+
Get started with Azure Communication Services by provisioning your first Communication Services resource. Communication Services resources can be provisioned through the [Azure portal](https://portal.azure.com) or using the .NET management SDK. The management SDK and the Azure portal enable you to create, configure, update, and delete your resources and interface using the new deployment and management service: [Azure Resource Manager](../../azure-resource-manager/management/overview.md). All functions available in the SDKs are available in the Azure portal.
2020

2121
>[!VIDEO https://www.youtube.com/embed/3In3o5DhOHU]
2222
2323
> [!WARNING]
24-
> Note that it is not possible to create a resource group at the same time as a resource for Azure Communication Services. When creating a resource, a resource group that has been created already, must be used.
24+
> Note that you can't create a resource group at the same time as a resource for Azure Communication Services. Before creating a resource, you need to first create a resource group.
2525
2626
::: zone pivot="platform-azp"
2727
[!INCLUDE [Azure portal](./includes/create-resource-azp.md)]
@@ -41,7 +41,7 @@ Get started with Azure Communication Services by provisioning your first Communi
4141

4242
## Access your connection strings and service endpoints
4343

44-
Connection strings allow the Communication Services SDKs to connect and authenticate to Azure. You can access your Communication Services connection strings and service endpoints from the Azure portal or programmatically with Azure Resource Manager APIs.
44+
Connection strings enable the Communication Services SDKs to connect and authenticate to Azure. You can access your Communication Services connection strings and service endpoints from the Azure portal or programmatically with Azure Resource Manager APIs.
4545

4646
After navigating to your Communication Services resource, select **Keys** from the navigation menu and copy the **Connection string** or **Endpoint** values for usage by the Communication Services SDKs. You have access to primary and secondary keys. This can be useful when you would like to provide temporary access to your Communication Services resources to a third-party or staging environment.
4747

@@ -84,7 +84,7 @@ Communication Services SDKs use connection strings to authorize requests made to
8484

8585
### Store your connection string in an environment variable
8686

87-
To configure an environment variable, open a console window and select your operating system from the below tabs. Replace `<yourconnectionstring>` with your actual connection string.
87+
To configure an environment variable, open a console window and select your operating system from the following tabs. Replace `<yourconnectionstring>` with your actual connection string.
8888

8989
#### [Windows](#tab/windows)
9090

@@ -98,29 +98,29 @@ After you add the environment variable, you may need to restart any running prog
9898

9999
#### [macOS](#tab/unix)
100100

101-
Edit your **`.zshrc`**, and add the environment variable:
101+
Edit your **`.zshrc`** file, and add the environment variable:
102102

103103
```bash
104104
export COMMUNICATION_SERVICES_CONNECTION_STRING="<yourConnectionString>"
105105
```
106106

107-
After you add the environment variable, run `source ~/.zshrc` from your console window to make the changes effective. If you created the environment variable with your IDE open, you may need to close and reopen the editor, IDE, or shell in order to access the variable.
107+
After you add the environment variable, run `source ~/.zshrc` from your console window to make the changes effective. If you created the environment variable with your IDE open, you may need to close and reopen the editor, IDE, or shell to access the variable.
108108

109109
#### [Linux](#tab/linux)
110110

111-
Edit your **`.bash_profile`**, and add the environment variable:
111+
Edit your **`.bash_profile`** file, and add the environment variable:
112112

113113
```bash
114114
export COMMUNICATION_SERVICES_CONNECTION_STRING="<yourConnectionString>"
115115
```
116116

117-
After you add the environment variable, run `source ~/.bash_profile` from your console window to make the changes effective. If you created the environment variable with your IDE open, you may need to close and reopen the editor, IDE, or shell in order to access the variable.
117+
After you add the environment variable, run `source ~/.bash_profile` from your console window to make the changes effective. If you created the environment variable with your IDE open, you may need to close and reopen the editor, IDE, or shell to access the variable.
118118

119119
---
120120

121121
## Clean up resources
122122

123-
If you want to clean up and remove a Communication Services subscription, you can delete the resource or resource group. You can delete your communication resource by running the following command.
123+
If you want to clean up and remove a Communication Services subscription, you can delete the resource or resource group. To delete your communication resource, run the following command.
124124

125125
```azurecli-interactive
126126
az communication delete --name "acsResourceName" --resource-group "resourceGroup"

articles/communication-services/quickstarts/includes/create-resource-az-cli.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ If you're planning on using phone numbers, you can't use the free trial account.
1616

1717
## Create Azure Communication Services resource
1818

19-
To create an Azure Communication Services resource, [sign in to Azure CLI](/cli/azure/authenticate-azure-cli). You can sign in running the ```az login``` command from the terminal and providing your credentials. Run the following command to create the resource:
19+
To create an Azure Communication Services resource, [sign in to Azure CLI](/cli/azure/authenticate-azure-cli). You can sign in running the ```az login``` command from the terminal and provide your credentials. Run the following command to create the resource:
2020

2121
```azurepowershell-interactive
2222
az communication create --name "<acsResourceName>" --location "Global" --data-location "United States" --resource-group "<resourceGroup>"
@@ -31,9 +31,9 @@ You can configure your Communication Services resource with the following option
3131

3232
* The [resource group](../../../azure-resource-manager/management/manage-resource-groups-cli.md)
3333
* The name of the Communication Services resource
34-
* The geography the resource will be associated with
34+
* The geography associated with the resource
3535

36-
In the next step, you can assign tags to the resource. Tags can be used to organize your Azure resources. For more information about tags, see the [resource tagging documentation](../../../azure-resource-manager/management/tag-resources.md).
36+
In the next step, you can assign tags to the resource. You can use tags to organize your Azure resources. For more information about tags, see [Use tags to organize your Azure resources and management hierarchy](../../../azure-resource-manager/management/tag-resources.md).
3737

3838
## Manage your Communication Services resource
3939

articles/communication-services/quickstarts/includes/create-resource-azp.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ ms.author: rifox
1010

1111
- An Azure account with an active subscription. [Create an account for free](https://azure.microsoft.com/free/dotnet/).
1212

13-
Note that if you're planning on using phone numbers, you can't use the free trial account. Check that your subscription meets all the [requirements](../../concepts/telephony/plan-solution.md) if you plan to purchase phone numbers before creating your resource.
13+
If you're planning to use phone numbers, you can't use the free trial account. Check that your subscription meets all the [requirements](../../concepts/telephony/plan-solution.md) if you plan to purchase phone numbers before creating your resource.
1414

1515
## Create Azure Communication Services resource
1616

1717
To create an Azure Communication Services resource, first sign in to the [Azure portal](https://portal.azure.com). In the upper-left corner of the page, select **+ Create a resource**.
1818

19-
:::image type="content" source="../media/create-a-communication-resource/create-resource-plus-sign.png" alt-text="Screenshot highlighting the create a resource button in the Azure portal.":::
19+
:::image type="content" source="../media/create-a-communication-resource/create-resource-plus-sign.png" alt-text="Screenshot highlighting the Create a resource button in the Azure portal.":::
2020

2121
Enter **Communication** into either the **Search the Marketplace** input or the search bar at the top of the portal.
2222

@@ -26,21 +26,21 @@ Select **Communication Services** in the results, and then select **Create**.
2626

2727
:::image type="content" source="../media/create-a-communication-resource/create-communication-portal.png" alt-text="Screenshot showing the Communication Services panel, highlighting the Create button.":::
2828

29-
You can now configure your Communication Services resource. On the first page in the create process, you'll be asked to specify:
29+
You can now configure your Communication Services resource. On the first page of the create process, you need to specify:
3030

3131
* The subscription
3232
* The [resource group](../../../azure-resource-manager/management/manage-resource-groups-portal.md) (you can create a new one or choose an existing resource group)
3333
* The name of the Communication Services resource
34-
* The geography the resource will be associated with
34+
* The geography associated with the resource
3535

36-
In the next step, you can assign tags to the resource. Tags can be used to organize your Azure resources. See the [resource tagging documentation](../../../azure-resource-manager/management/tag-resources.md) for more information about tags.
36+
In the next step, you can assign tags to the resource. You can use tags to organize your Azure resources. For more information about tags, see [Use tags to organize your Azure resources and management hierarchy](../../../azure-resource-manager/management/tag-resources.md).
3737

38-
Finally, you can review your configuration and **Create** the resource. Note that the deployment will take a few minutes to complete.
38+
Finally, you can review your configuration and **Create** the resource. Deployment takes a few minutes to complete.
3939

4040
## Manage your Communication Services resource
4141

42-
To manage your Communication Services resource, go to the [Azure portal](https://portal.azure.com), and search for and select **Azure Communication Services**.
42+
To manage your Communication Services resource, sign in to the [Azure portal](https://portal.azure.com), and search for and select **Azure Communication Services**.
4343

4444
On the **Communication Services** page, select the name of your resource.
4545

46-
The **Overview** page for your resource contains options for basic management like browse, stop, start, restart, and delete. You can find more configuration options in the left menu of your resource page.
46+
The **Overview** page for your resource contains options for basic management like browse, stop, start, restart, and delete. For more configuration options, see the left menu of your resource page.

articles/communication-services/quickstarts/includes/create-resource-net.md

Lines changed: 21 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ ms.author: rifox
1313
- Get the latest version of the [.NET Identity SDK](/dotnet/api/azure.identity).
1414
- Get the latest version of the [.NET Management SDK](../../concepts/sdk-options.md).
1515

16-
Note that if you're planning on using phone numbers, you can't use the free trial account. Check that your subscription meets all the [requirements](../../concepts/telephony/plan-solution.md) if you plan to purchase phone numbers before creating your resource.
16+
If you're planning on using phone numbers, you can't use the free trial account. Check that your subscription meets all the [requirements](../../concepts/telephony/plan-solution.md) if you plan to purchase phone numbers before creating your resource.
1717

1818
## Installing the SDK
1919

@@ -25,27 +25,29 @@ using Azure.ResourceManager.Communication;
2525

2626
## Subscription ID
2727

28-
You'll need to know the ID of your Azure subscription. This can be acquired from the portal:
28+
You need to know the ID of your Azure subscription. This can be acquired from the portal:
2929

30-
1. Login into your Azure account
31-
2. Select Subscriptions in the left sidebar
32-
3. Select whichever subscription is needed
33-
4. Click on Overview
34-
5. Select your Subscription ID
30+
1. Sign in into your account on the [Azure portal](https://portal.azure.com).
31+
2. From the left sidebar, select **Subscriptions**.
32+
3. Select the subscription you want to use.
33+
4. Click **Overview**.
34+
5. Select your Subscription ID.
3535

36-
In this quickstart, we'll assume that you've stored the subscription ID in an environment variable called `AZURE_SUBSCRIPTION_ID`.
36+
For the examples in this quickstart to work, you need to store your subscription ID in an environment variable called `AZURE_SUBSCRIPTION_ID`.
3737

3838
## Authentication
3939

4040
To communicate with Azure Communication Services, you must first authenticate yourself to Azure. You'll usually do this using a service principal identity.
4141

4242
### Option 1: Managed Identity
4343

44-
If your code is running as a service in Azure, the easiest way to authenticate is to acquire a managed identity from Azure. Learn more about [managed identities](/entra/identity/managed-identities-azure-resources/overview).
44+
If your code is running as a service in Azure, the easiest way to authenticate is to acquire a managed identity from Azure. For more information, see:
4545

46-
[Azure services that support Managed Identities](/entra/identity/managed-identities-azure-resources/managed-identities-status)
46+
- [Managed identities overview](/entra/identity/managed-identities-azure-resources/overview)
4747

48-
[How to use managed identities for App Service and Azure Functions](../../../app-service/overview-managed-identity.md?tabs=dotnet)
48+
- [Azure services that support Managed Identities](/entra/identity/managed-identities-azure-resources/managed-identities-status)
49+
50+
- [How to use managed identities for App Service and Azure Functions](../../../app-service/overview-managed-identity.md?tabs=dotnet)
4951

5052
#### [System-assigned Managed Identity](../../../app-service/overview-managed-identity.md?tabs=dotnet#add-a-system-assigned-identity)
5153

@@ -76,15 +78,15 @@ var acsClient = new CommunicationManagementClient(subscriptionId, managedIdentit
7678

7779
### Option 2: Service Principal
7880

79-
Instead of using a managed identity, you may want to authenticate to Azure using a service principal that you manage yourself. Learn more using documentation on [creating and managing a service principal in Microsoft Entra ID](/entra/identity-platform/howto-create-service-principal-portal).
81+
Instead of using a managed identity, you may want to authenticate to Azure using a service principal that you manage yourself. For more information, see [creating and managing a service principal in Microsoft Entra ID](/entra/identity-platform/howto-create-service-principal-portal).
8082

81-
After you've created your service principal, you'll need to collect the following information about it from the Azure portal:
83+
After you create your service principal, you need to collect the following information about it from the Azure portal:
8284

8385
- **Client ID**
8486
- **Client Secret**
8587
- **Tenant ID**
8688

87-
Store these values in environment variables named `AZURE_CLIENT_ID`, `AZURE_CLIENT_SECRET`, and `AZURE_TENANT_ID` respectively. You can then create a Communication Services management client like this:
89+
Store these values as environment variables named `AZURE_CLIENT_ID`, `AZURE_CLIENT_SECRET`, and `AZURE_TENANT_ID`, respectively. You can then create a Communication Services management client like this:
8890

8991
```csharp
9092
using Azure.Identity;
@@ -98,7 +100,7 @@ var acsClient = new CommunicationManagementClient(subscriptionId, new Environmen
98100

99101
### Option 3: User Identity
100102

101-
If you want to call Azure on behalf of an interactive user, rather than using a service identity, you can use the following code to create an Azure Communication Services Management client. This will open a browser window to prompt the user for their MSA or Microsoft Entra credentials.
103+
If you want to call Azure on behalf of an interactive user, rather than using a service identity, you can use the following code to create an Azure Communication Services Management client. This opens a browser window to prompt the user for their MSA or Microsoft Entra credentials.
102104

103105
```csharp
104106
using Azure.Identity;
@@ -116,17 +118,17 @@ var communicationServiceClient = new CommunicationManagementClient(subscriptionI
116118

117119
Now that you're authenticated, you can use your management client to make API calls.
118120

119-
For each of the following examples, we'll be assigning our Communication Services resources to an existing resource group.
121+
For each of the following examples, we assign our Communication Services resources to an existing resource group.
120122

121123
If you need to create a resource group, you can do so by using the [Azure portal](../../../azure-resource-manager/management/manage-resource-groups-portal.md) or the [Azure Resource Manager SDK](https://github.com/Azure/azure-sdk-for-net/blob/master/doc/mgmt_preview_quickstart.md).
122124

123125
### Create and manage a Communication Services resource
124126

125-
Our instance of the Communication Services Management SDK client (``Azure.ResourceManager.Communication.CommunicationManagementClient``) can be used to perform operations on Communication Services resources.
127+
You can use the instance of the Communication Services Management SDK client (``Azure.ResourceManager.Communication.CommunicationManagementClient``) to perform operations on Communication Services resources.
126128

127129
#### Create a Communication Services resource
128130

129-
When creating a Communication Services resource, you'll specify the resource group name and resource name. Note that the `Location` property will always be `global`, and during public preview the `DataLocation` value must be `UnitedStates`.
131+
When creating a Communication Services resource, specify the resource group name and resource name. The `Location` property is always `global`, and during public preview the `DataLocation` value must be `UnitedStates`.
130132

131133
```csharp
132134
var resourceGroupName = "myResourceGroupName";
@@ -170,7 +172,7 @@ await acsClient.CommunicationService.StartDeleteAsync(resourceGroupName, resourc
170172

171173
## Managing keys and connection strings
172174

173-
Every Communication Services resource has a pair of access keys and corresponding connection strings. These keys can be accessed with the Management SDK and then used by other Communication Services SDKs to authenticate themselves to Azure Communication Services.
175+
Every Communication Services resource has a pair of access keys and corresponding connection strings. You can access these keys using the Management SDK and then make them available to other Communication Services SDKs to authenticate themselves to Azure Communication Services.
174176

175177
#### Get access keys for a Communication Services resource
176178

0 commit comments

Comments
 (0)