Skip to content

Configure the project to match your environment

Alex Terentiev edited this page Sep 22, 2023 · 7 revisions
  1. Open appsettings.json under /labs/NewBotACE/csharp/ in latest version of Visual Studio and update the following information:
  • Set "MicrosoftAppType" to MultiTenant.
  • Set "MicrosoftAppId" to your bot's Microsoft App ID.
  • Set "MicrosoftAppPassword" to your bot's Value of the Client Secret ID.
  • Leave "MicrosoftAppTenantId" blank for MultiTenant bot.
  • Set "BaseUrl" to the fully qualified domain name.

image
2. Go to the manifest.json file in the cloned repository.
3. Open manifest.json in latest version of Visual Studio and make the following changes:

  • Replace the <<validDomains>> with your fully qualified domain name.
  • Replace all occurrences of <<Microsoft-App-ID>> with your bot's Microsoft App ID.

Important

We're currently working on the changes for the dashboardCards schema that will break existing Bot ACEs. When the changes are rolled out, we will update the documentation and hands-on labs with the new manifest.json file.

image