Azure Bicep files configuration TL;DR
This guide provides a deep dive into the specific configuration options available for your Azure Bot infrastructure. The settings are categorized by resource type to help you understand the impact of modifying the azurebot.bicep or the azure.parameters.json file.
🖥️ App Service & Compute Options
Section titled “🖥️ App Service & Compute Options”The App Service Plan defines the “hardware” and cost of your bot’s hosting. In your parameters, this is controlled by webAppSKU.
🔐 Security & Network Configuration
Section titled “🔐 Security & Network Configuration”The template enforces a strict “Service Tag” firewall. These settings ensure your bot is not accessible to the general public, only to the Azure Bot Service itself.
📦 Key Vault & Secrets
Section titled “📦 Key Vault & Secrets”The Key Vault stores the “brain” of your bot’s identity. These settings protect against accidental deletion and data breaches.
📊 Monitoring & Logging (Log Analytics)
Section titled “📊 Monitoring & Logging (Log Analytics)”Everything your bot does is tracked in Log Analytics. These settings determine how long logs stay and what is captured.
🤖 Bot Registration (Module)
Section titled “🤖 Bot Registration (Module)”The azurebot.bicep module handles the identity that users interact with on platforms like Teams or Slack.
Summary of Placeholders
Section titled “Summary of Placeholders”When using your azure.parameters.json, ensure the following placeholders are handled by your deployment script:
${{RESOURCE_SUFFIX}}: Used to ensure global uniqueness (e.g.,prod01).${{BOT_ID}}: Your Microsoft App ID.${{SECRET_BOT_PASSWORD}}: Your Microsoft App Secret (Securely stored in Key Vault).
Would you like me to create an Azure CLI script that specifically validates your Key Vault permissions once the deployment is finished?