You are viewing an earlier version of the admin guide. For the latest version, please visit EmpowerID Admin Guide v7.211.0.0.

Skip to end of banner
Go to start of banner

Set up App Service

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 12 Current »

The first step to deploying the Bot is creating a Linux Web app with a NET Core 3.1 runtime stack. The app service we set up now will host the bot microservice as the messaging endpoint for the Bot. Please follow the steps below to set up an app service for the Bot.

Prerequisite: Clients deploying the EmpowerID Bot should have users from their organization's Azure AD tenant inventoried into EmpowerID. Azure AD accounts not registered and not owned by EmpowerID person will not be authorized to use the Bot. You can find details about Azure AD inventory here, /wiki/spaces/EAGV21/pages/2732326913 .


  1. Login to your Azure account.

  2. Create a Linux App Service with the .NET Core 3.1 runtime stack.

  3. Go to the newly created App Service’s Configuration and click on the Advanced Edit.

  4. Copy & Paste the JSON content below into the configuration JSON editor, which appears on a pane. Click on OK to save.

    You will fill in the missing configuration values later. Note that the initial JSON content in the editor may “[ ].” Please remove this before adding the content below.

    [
      {
        "name": "AzRedisCache",
        "value": "",
        "slotSetting": false
      },
      {
        "name": "CosmosDbAuthKey",
        "value": "",
        "slotSetting": false
      },
      {
        "name": "CosmosDbContainerId",
        "value": "",
        "slotSetting": false
      },
      {
        "name": "CosmosDbDatabaseId",
        "value": "",
        "slotSetting": false
      },
      {
        "name": "CosmosDbEndpoint",
        "value": "",
        "slotSetting": false
      },
      {
        "name": "EnableMultitenancy",
        "value": "true",
        "slotSetting": false
      },
      {
        "name": "KeyVaultUrl",
        "value": "",
        "slotSetting": false
      },
      {
        "name": "MicrosoftAppId",
        "value": "",
        "slotSetting": false
      },
      {
        "name": "MicrosoftAppPassword",
        "value": "",
        "slotSetting": false
      },
      {
        "name": "SupportsUserTenantMapping",
        "value": "false",
        "slotSetting": false
      },
      {
        "name": "WEBSITE_HEALTHCHECK_MAXPINGFAILURES",
        "value": "10",
        "slotSetting": false
      },
      {
        "name": "WEBSITE_HTTPLOGGING_RETENTION_DAYS",
        "value": "2",
        "slotSetting": false
      },
      {
        "name": "WEBSITE_LOAD_USER_PROFILE",
        "value": "1",
        "slotSetting": false
      }
    ]
    

  5. The Application settings page will appear as below. Click on the Save button to save the settings.


In the next step, we will create Azure Cache for Redis

Set up Azure Cache for Redis

  • No labels