Manage a bot

APPLIES TO: SDK v4

In your browser, navigate to the Azure portal. Select your resource application, such as an Azure Bot. On the navigation pane you'll see the sections described below.

Azure Bot resource settings

The Azure Bot resource contains the settings described below.

General

At the top of the navigation pane are links for general information applicable to a bot.

General information about a bot.

Link Description
Overview Contains high level information about the bot, such as a bot's Subscription ID and Messaging endpoint. On the overview for a Web App Bot, you can also download the bot source code.
Activity log Provides detailed diagnostic and auditing information for Azure resources and the Azure platform they depend on. For more information, see Overview of Azure platform logs.
Access control (IAM) Displays the access users or other security principals have to Azure resources. For more information, see View the access a user has to Azure resources.
Tags Displays the tags to your Azure resources, resource groups, and subscriptions to logically organize them into a taxonomy. For more information, see Use tags to organize your Azure resources.

Settings

In the Settings section are links for most of your bot's management options.

Common management options.

Link Description
Bot profile Manages various bot profile settings, such as display name, icon, and description.
Configuration Manages various bot settings, such as analytics, messaging endpoint, and OAuth connection settings.
Channels Configures the channels your bot uses to communicate with users.
Pricing Manages the pricing tier for the bot service.
Test in Web Chat Uses the integrated Web Chat control to quickly test your bot.
Encryption Manages your encryption keys.
Properties Lists your bot resource properties, such as resource ID, subscription ID, and resource group ID.
Locks Manages your resource locks.

Monitoring

In the Monitoring section are links for most of your bot's monitoring options.

Common monitoring options.

Link Description
Conversational analytics Enables analytics to view the collected data with Application Insights. This Analytics blade will be deprecated. For more information, see Add telemetry to your bot and Analyze your bot's telemetry data.
Alerts Configure alert rules and attend to fired alerts to efficiently monitor your Azure resources. For more information, see Overview of alerts in Microsoft Azure.
Metrics Select a metric to see data in the proper chart.
Diagnostic settings Diagnostic settings are used to configure streaming export of platform logs and metrics for a resource to the destination of your choice. For more information,see diagnostic settings.
Logs Produce insights from Azure Monitor logs.

Application service settings

A bot application, also known as an application service (App Service), has a set of application settings that you can access through the Azure portal. They are environment variables passed to the bot application code. For more information, see Configure an App Service app in the Azure portal.

  1. In your browser, navigate to the Azure portal.

  2. Search for your bot app service and select its name.

  3. The bot app service information is displayed. The following picture is a partial view of the settings.

    Navigation pane for an app service resource.

App Id and password

You need the Azure bot resource app Id and password to configure your bot for deployment. You will assign their values to the related variables: MicrosoftAppId and MicrosoftAppPassword contained in your bot project configuration file. The file differs depending on the programming language you use to create the bot, as shown in the table below.

Language File Name
Csharp appsettings.json
JavaScript .env
Python config.py
Java application.properties

Get Azure bot resource app Id

  1. Go to the Azure portal.
  2. Select the Azure bot resource to obtain its app Id.
  3. In the left pane, in the Settings section, select Configuration.
  4. Copy and save the value contained in the Microsoft App ID box.

Get Azure bot resource password from the Azure key vault

You can access the Azure Key Vault to obtain your resource stored password. Azure Key Vault is a service that provides centralized secrets management, with full control over access policies and audit history. Fpr more information, see Use Key Vault references for App Service and Azure Functions.

Additional information

Next steps

Now that you have explored the Bot Service blade in the Azure portal, learn how to use the Online Code Editor to customize your bot.