Forum Discussion

mikeslagle47's avatar
mikeslagle47
Copper Contributor
Jan 02, 2025

Ideas on how to connect Copilot to KnowledgeOwl

My company uses KnowledgeOwl as our knowledge base and I am working on connecting Copilot to the knowledge base using Copilot studio. The knowledge base is hosted using their domain and behind our SSO authentication. I am struggling to figure this one out, because it seems like it is limited to only connect to public websites and sharepoint sites. I was wondering if anyone else here would have any ideas on how I can accomplish this, other than migrating to SharePoint.  Thank you!

1 Reply

  • JaydenLewis's avatar
    JaydenLewis
    Iron Contributor

    1. Official Integration Programs
     Through Microsoft Graph Connectors
    In the Microsoft 365 Administrator Center:
    Navigate to https://admin.microsoft.com → “Settings” → “Search & Intelligence” → “Customize Connectors
    Select “KnowledgeOwl” as the data source (KnowledgeOwl must be registered as an official connector).
    2. Configure the API connection:
    powershell
    # Verify the connection using PowerShell
    Connect-MgGraph -Scopes “ExternalConnection.ReadWrite.OwnedBy”
    New-MgExternalConnection -Name “KnowledgeOwl_KB” -Description “KnowledgeOwl Integration”
    3. Customizing the Development Program
     Using the Azure Logic Apps Bridge
    Create an HTTP trigger:
    Create a Logic App in the Azure Portal → Add an “HTTP Request” trigger.
    Configure KnowledgeOwl API Authentication (need to get API Key)
    4. Sample API call:
    http
    POST https://api.knowledgeowl.com/v1/articles
    Headers.
    - Authorization: Bearer {API_KEY}
    - Content-Type: application/json
    Content-Type: application/json
    {
      “query": ‘{{CopilotSearchQuery}}’,
      “max_results": 5
    }
    5. Copilot Plugin Development
    Create the Teams Messaging extension:
    Use App Studio to create the Manifest:
    json
    “composeExtensions": [{
      
      
    “commands": [{
        “id": ‘searchKOwl’,
        “description": ‘SearchKnowledgeOwl’, ‘commands’: [{ ‘id’: ‘searchKOwl’,
        “parameters": [{
          “name": ‘query’, ‘title’: ‘Search Terms’: [{
          “title": ”Search Terms”
        }]
      }]
    }]
    Deploy to Copilot:
    Publish the application through the Teams Administrator Center

    6. Temporary Alternatives
    Synchronize via SharePoint
    Export the knowledge base as HTML/PDF in KnowledgeOwl
    Upload to SharePoint Document Library
    Reference SharePoint links in Copilot:
    markdown
    [View KnowledgeOwl documentation](https://yourdomain.sharepoint.com/sites/knowledgebase)
    7. Using Power Automate Streaming
    powershell
    # Create a timed synchronized stream
    Connect-PnPOnline -Url “https://yourdomain.sharepoint.com”
    Add-PnPFlow -Name “KOwlSync” -DefinitionPath “C:\flow.json”

Resources