You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/communication-services/quickstarts/create-communication-resource.md
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,12 +16,12 @@ ms.devlang: azurecli
16
16
---
17
17
# Quickstart: Create and manage Communication Services resources
18
18
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.
> 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.
@@ -41,7 +41,7 @@ Get started with Azure Communication Services by provisioning your first Communi
41
41
42
42
## Access your connection strings and service endpoints
43
43
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.
45
45
46
46
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.
47
47
@@ -84,7 +84,7 @@ Communication Services SDKs use connection strings to authorize requests made to
84
84
85
85
### Store your connection string in an environment variable
86
86
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.
88
88
89
89
#### [Windows](#tab/windows)
90
90
@@ -98,29 +98,29 @@ After you add the environment variable, you may need to restart any running prog
98
98
99
99
#### [macOS](#tab/unix)
100
100
101
-
Edit your **`.zshrc`**, and add the environment variable:
101
+
Edit your **`.zshrc`** file, and add the environment variable:
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.
108
108
109
109
#### [Linux](#tab/linux)
110
110
111
-
Edit your **`.bash_profile`**, and add the environment variable:
111
+
Edit your **`.bash_profile`** file, and add the environment variable:
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.
118
118
119
119
---
120
120
121
121
## Clean up resources
122
122
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.
124
124
125
125
```azurecli-interactive
126
126
az communication delete --name "acsResourceName" --resource-group "resourceGroup"
Copy file name to clipboardExpand all lines: articles/communication-services/quickstarts/includes/create-resource-az-cli.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,7 @@ If you're planning on using phone numbers, you can't use the free trial account.
16
16
17
17
## Create Azure Communication Services resource
18
18
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:
20
20
21
21
```azurepowershell-interactive
22
22
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
31
31
32
32
* The [resource group](../../../azure-resource-manager/management/manage-resource-groups-cli.md)
33
33
* The name of the Communication Services resource
34
-
* The geography the resource will be associated with
34
+
* The geography associated with the resource
35
35
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).
Copy file name to clipboardExpand all lines: articles/communication-services/quickstarts/includes/create-resource-azp.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,13 +10,13 @@ ms.author: rifox
10
10
11
11
- An Azure account with an active subscription. [Create an account for free](https://azure.microsoft.com/free/dotnet/).
12
12
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.
14
14
15
15
## Create Azure Communication Services resource
16
16
17
17
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**.
18
18
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.":::
20
20
21
21
Enter **Communication** into either the **Search the Marketplace** input or the search bar at the top of the portal.
22
22
@@ -26,21 +26,21 @@ Select **Communication Services** in the results, and then select **Create**.
26
26
27
27
:::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.":::
28
28
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:
30
30
31
31
* The subscription
32
32
* The [resource group](../../../azure-resource-manager/management/manage-resource-groups-portal.md) (you can create a new one or choose an existing resource group)
33
33
* The name of the Communication Services resource
34
-
* The geography the resource will be associated with
34
+
* The geography associated with the resource
35
35
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).
37
37
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.
39
39
40
40
## Manage your Communication Services resource
41
41
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**.
43
43
44
44
On the **Communication Services** page, select the name of your resource.
45
45
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.
Copy file name to clipboardExpand all lines: articles/communication-services/quickstarts/includes/create-resource-net.md
+21-19Lines changed: 21 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ ms.author: rifox
13
13
- Get the latest version of the [.NET Identity SDK](/dotnet/api/azure.identity).
14
14
- Get the latest version of the [.NET Management SDK](../../concepts/sdk-options.md).
15
15
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.
17
17
18
18
## Installing the SDK
19
19
@@ -25,27 +25,29 @@ using Azure.ResourceManager.Communication;
25
25
26
26
## Subscription ID
27
27
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:
29
29
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.
35
35
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`.
37
37
38
38
## Authentication
39
39
40
40
To communicate with Azure Communication Services, you must first authenticate yourself to Azure. You'll usually do this using a service principal identity.
41
41
42
42
### Option 1: Managed Identity
43
43
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:
45
45
46
-
[Azure services that support Managed Identities](/entra/identity/managed-identities-azure-resources/managed-identities-status)
@@ -76,15 +78,15 @@ var acsClient = new CommunicationManagementClient(subscriptionId, managedIdentit
76
78
77
79
### Option 2: Service Principal
78
80
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).
80
82
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:
82
84
83
85
-**Client ID**
84
86
-**Client Secret**
85
87
-**Tenant ID**
86
88
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:
88
90
89
91
```csharp
90
92
usingAzure.Identity;
@@ -98,7 +100,7 @@ var acsClient = new CommunicationManagementClient(subscriptionId, new Environmen
98
100
99
101
### Option 3: User Identity
100
102
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.
102
104
103
105
```csharp
104
106
usingAzure.Identity;
@@ -116,17 +118,17 @@ var communicationServiceClient = new CommunicationManagementClient(subscriptionI
116
118
117
119
Now that you're authenticated, you can use your management client to make API calls.
118
120
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.
120
122
121
123
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).
122
124
123
125
### Create and manage a Communication Services resource
124
126
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.
126
128
127
129
#### Create a Communication Services resource
128
130
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`.
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.
174
176
175
177
#### Get access keys for a Communication Services resource
0 commit comments