Skip to content

Commit 1f7a2c8

Browse files
committed
Added app registration steps
for AI chat bot
1 parent fd869f5 commit 1f7a2c8

File tree

3 files changed

+35
-15
lines changed

3 files changed

+35
-15
lines changed
24.7 KB
Loading
45.1 KB
Loading

articles/communication-services/quickstarts/tpe/teams-phone-extensibility-quickstart.md

Lines changed: 35 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -35,26 +35,45 @@ The rest of this article describes quick starts for two different personas: CCaa
3535

3636
### CCaaS Developer: Provision the AppID (Application ID)
3737

38-
Before you can create a bot, you need to register an `ApplicationID` using steps 1 through 4 in [Registering a calling bot](https://microsoftgraph.github.io/microsoft-graph-comms-samples/docs/articles/calls/register-calling-bot.html#registering-an-app-registration).
38+
Before you can create a bot, you need to register an Application ID.
39+
40+
1. From the Azure portal, open **App Registrations**.
41+
42+
:::image type="content" source="./media/teams-phone-extensibility-app-registration.png" alt-text="Screen capture showing the Azure portal with App registration selected from services." lightbox="./media/teams-phone-extensibility-app-registration.png":::
43+
44+
1. Select **New registration**.
45+
1. Complete the required fields and click **Register**.
46+
1. When the portal completes the resource, click **Go to resource**.
47+
1. Record the values for the **Application (client) ID** and **Directory (tenant) ID**.
48+
49+
:::image type="content" source="./media/teams-phone-extensibility-app-registration-resources.png" alt-text="Screen capture showing the Azure portal App registrations resource displaying Essentials including Application (client) ID and Directory (tenant) ID." lightbox="./media/teams-phone-extensibility-app-registration-resources.png":::
50+
51+
1. Open **Certificates & secrets**. Create new a client secret and record the certificate and secret ID values.
52+
53+
For more information, see [Registering a calling bot](https://microsoftgraph.github.io/microsoft-graph-comms-samples/docs/articles/calls/register-calling-bot.html#registering-an-app-registration).
3954

4055
### CCaaS Developer: Create the Bot
4156

42-
Once you create the `AppID`, Teams Phone system also uses the current process as defined for Graph to create a bot. Complete steps 1 through 4 in [Registering a calling bot](https://microsoftgraph.github.io/microsoft-graph-comms-samples/docs/articles/calls/register-calling-bot.html#registering-an-app-registration).
57+
Once you create the `AppID`, Teams Phone system also uses the current process as defined for Graph to create a bot.
4358

4459
Alternatively, you can complete the following steps to create just the bot after you create an Application ID using the Azure CLI.
4560

46-
1. Download Azure CLI
47-
1. Sign in with your Azure account used for the preceding App Registration:
48-
```azurecli
49-
az login
50-
```
51-
1. If not already, Install `Az.BotService`:
52-
```azurecli
53-
Install-Module Az.BotService -AllowClobber
54-
```
61+
1. Download Azure CLI.
62+
1. Sign in with your Azure account used for the preceding App Registration:
63+
64+
```azurecli
65+
az login
66+
```
67+
68+
1. If not already installed, install `Az.BotService`:
69+
70+
```azurecli
71+
Install-Module Az.BotService -AllowClobber
72+
```
73+
5574
1. Provision the bot using the following command. For more information, see [Publish a bot with Azure PowerShell - Azure AI Bot Service - Bot Service](/azure/bot-service/powershell/bot-builder-powershell-quickstart):
5675

57-
If your environment is already provisioned, skip these steps.
76+
If your environment is already provisioned, skip the following steps.
5877

5978
```azurecli
6079
Connect-AzAccount
@@ -495,10 +514,11 @@ StartRecordingOptions recordingOptions = new StartRecordingOptions("<callConnect
495514
Response<RecordingStateResult> response = await callAutomationClient.GetCallRecording()
496515
.StartAsync(recordingOptions);
497516
```
498-
> [!NOTE]
499-
> Recording started with connection Id is started async (204 response code) and recording state change is updated via call back event (Microsoft.Communication.RecordingStateChanged) received on RecordingStateCallbackUri.
500-
Additionally any failures to start recording is reported via a new callback event (Microsoft.Communication.StartRecordingFailed) received on RecordingStateCallbackUri.
501517

518+
> [!NOTE]
519+
> Recording started with connection ID is started async (204 response code) and recording state change is updated via call back event `Microsoft.Communication.RecordingStateChanged` received on `RecordingStateCallbackUri`.
520+
>
521+
> In addition, any failure to start recording is reported via a new callback event `Microsoft.Communication.StartRecordingFailed` received on `RecordingStateCallbackUri`.
502522
503523
## Alpha SDKs
504524

0 commit comments

Comments
 (0)