閱讀英文 編輯

共用方式為

Invoke Dialog in Bot with Adaptive Card

Set up app settings and manifest files

  1. Go to the appsettings.json file in the cloned repository.

    App settings location

  2. Open the appsettings.json and update the following information:

    • Set "MicrosoftAppType" to MultiTenant.
    • Set "MicrosoftAppId" to your bot's Microsoft App ID.
    • Set "MicrosoftAppPassword" to Value of Client secret.
    • Set "MicrosoftAppTenantId" to the tenant ID of the tenant where the app is used.
    • Set "BaseUrl" to the fully qualified domain name (https to io).

    Screenshot shows appsetting.json in visual studio.

  3. Go to the manifest.json file in the cloned repository.

    Manifest file location

  4. Open the manifest.json file and update the following information:

    • Replace all occurrences of <<Domain-Name>> with your ngrok or dev tunnel domain.
    • Replace all occurrences of <<YOUR-MICROSOFT-APP-ID>> with your bot's Microsoft App ID.

    Manifest image2.