This is the multi-page printable view of this section. Click here to print.

Return to the regular view of this page.

Azure Bot Registration

Create and configure your Microsoft Teams bot in Azure

    Azure Bot Registration

    Set up the Azure Bot that will connect Ohlala SmartOps to Microsoft Teams.

    🎯 What You’ll Create

    • Azure Bot resource for Teams integration
    • Authentication credentials (App ID, Password, Tenant ID)
    • Secure communication channel with Teams

    📋 Step-by-Step Setup

    1. Access Azure Portal

    Navigate to Azure Portal and sign in:

    https://portal.azure.com ↗️

    2. Create Resource Group (Optional)

    It’s recommended to create a dedicated resource group:

    1. Search for “Resource groups” in the search bar
    2. Click “Create”
    3. Configure:
      • Subscription: Your Azure subscription
      • Resource group: ohlala-smartops-rg
      • Region: Choose any region (e.g., North Europe)
    4. Click “Review + create” then “Create”

    Azure Portal Resource Groups page with “Create” button highlighted

    3. Create Azure Bot

    Search for Azure Bot

    In the Azure Portal search bar, type “Azure Bot” and select it from the marketplace.

    Azure Portal search bar with “Azure Bot” typed in

    Configure Bot Settings

    Fill in the bot configuration:

    Bot handle: OhlalaSmartOps
    Subscription: Your Azure subscription
    Resource group: ohlala-smartops-rg (or your chosen group)
    Location: North Europe (or your preferred region)
    Pricing tier: F0 (Free)
    Type: Single Tenant (default)
    Microsoft App ID: Create new
    

    Azure Bot creation page with required fields filled in

    Click “Review + create” then “Create”. Deployment takes about 1-2 minutes.

    4. Get Authentication Credentials

    After deployment completes, go to your bot resource.

    1. Go to Settings → Configuration
    2. You’ll see the Microsoft App ID - copy and save this

    Azure Bot Configuration page with “Create new” button highlighted under “Microsoft App ID”

    Create App Password

    1. Click “Manage Password” next to the App ID
    2. In the new window, click “New client secret”

    Azure Bot Client Secret creation page with “New client secret” button highlighted

    1. Configure the secret:
      • Description: Ohlala SmartOps Bot Secret
      • Expires: Choose duration (recommend 24 months)

    Azure Bot Client Secret creation page with description and expiration fields filled in

    1. Click “Add”
    2. IMPORTANT: Copy the secret value immediately!

    Azure Bot Client Secret creation page with “Copy to clipboard” button highlighted

    Get Tenant ID

    The Tenant ID is shown in the Azure Portal:

    1. Click on your account menu (top right)
    2. Select “Switch directory”
    3. Your Tenant ID is displayed there

    Alternatively:

    1. Go to Azure Active Directory
    2. The Tenant ID is on the overview page

    📝 Save Your Credentials

    You now have three critical values needed for deployment:

    CredentialWhere to FindExample
    Microsoft App IDBot Configuration page12345678-1234-1234-1234-123456789012
    Microsoft App PasswordClient secrets (copied)AbC123... (long string)
    Microsoft App Tenant IDAzure AD or account menu87654321-4321-4321-4321-210987654321

    5. Configure Teams Channel

    1. Open Channels Page

    In your Azure Bot resource, navigate to Channels in the left sidebar.

    Azure Portal Channels page with “Microsoft Teams” icon highlighted

    2. Add Microsoft Teams Channel

    1. Click on the Microsoft Teams icon
    2. Accept the terms and click “Agree”

    Azure Bot Microsoft Teams channel configuration page with “Agree” button highlighted

    1. Click on Apply

    Azure Bot Microsoft Teams channel configuration page with “Apply” button highlighted

    ❓ Common Issues

    Issue: Free Tier Not Available

    Solution: F0 tier is limited to one per subscription. Use S1 (Standard) tier instead (~$0.50/month).

    Issue: Can’t Create App Password

    Solution: You need appropriate permissions in Azure AD. Contact your Azure administrator.

    Issue: Lost App Password

    Solution: You can create a new client secret:

    1. Go to Bot Configuration → Manage Password
    2. Create a new client secret
    3. Update your deployment with the new password

    ⏭️ Next Step

    With your Azure Bot configured and credentials saved:

    Continue to CloudFormation Deployment →