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, Azure Active Directory Connector .
Login to your Azure account.
Please Create a Linux App Service with the .NET Core 3.1 runtime stack.
Go to the newly created App Service’s Configuration and click on the Advanced Edit.
Copy & Paste the JSON content below into the configuration JSON editor, which appears on a pane. Click on OK to save. The JSON content is the configuration required for the Bot, the value is empty for most of the keys. We will be setting the values gradually as we complete other steps in this series of docs.
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 } ]
The Application settings page will list all the settings that were present in the JSON content you pasted above. Please, click on the Save icon to save the settings.
In the next step, we will create Azure Cache for Redis
All steps in Deployment & Configuration of EID Bot