How to Get Azure Bot resource app Id?

You need the Azure bot resource app Id and password to configure your bot for deployment. In this post, we will get the app Id from Microsoft Azure Portal.

Prerequisites

  1. Create an Azure Bot resource in Microsoft Azure Portal

Get App ID

Open the Azure Bot resource you created.

Under Settings, click on Configuration.

Find your Microsoft App Id.

When Azure creates the Azure Bot resource, it also generates an app Id and a password and stores the password in Azure Key Vault.

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.

The appsettings.json file contains these settings for C# implementation:

{
  "MicrosoftAppId": "<your app id>",
  "MicrosoftAppPassword": "<your password>"
}

We will learn to retrieve the password from Key Vault in our next blog.

Thank you All!!! Hope you find this useful.


Up ↑

%d bloggers like this: