Introduction

Completed

This module provides you with the knowledge and steps for creating a Microsoft 365 Copilot connector using Visual Studio Code and the Microsoft 365 Agents Toolkit. You'll build a working connector that ingests data from a public GitHub repository's issues into Microsoft Graph, making the data queryable by Microsoft 365 Copilot and Microsoft Search.

Scenario

You need to make external data discoverable in Microsoft Search and usable by Microsoft 365 Copilot. As an example, you will ingest GitHub Issues from a public repository (OfficeDev/microsoft-365-agents-toolkit-samples) so that their titles, descriptions, and metadata become searchable and available for grounding Copilot responses. This scenario represents the broader need to unify external developer or project tracking information with Microsoft 365 experiences without migrating the source system.

By the end of this module, you'll have a working connector that:

  • Pulls real GitHub issues from a public repository
  • Indexes them into Microsoft Graph
  • Makes them searchable and accessible via Microsoft 365 Copilot

Prerequisites

Before beginning, ensure you have:

  • Visual Studio Code with the Microsoft 365 Agents Toolkit extension installed
  • Node.js and Azure Functions tools configured in your development environment
  • Access to a Microsoft 365 tenant with Copilot enabled
  • Appropriate admin roles in your Microsoft 365 tenant:
    • Global Administrator, or
    • Search Administrator

Important

This module requires hands-on work with real Microsoft 365 services. Ensure your tenant has Copilot enabled and that you have the necessary permissions to create and manage connectors before proceeding.

What you'll accomplish

By completing this module, you'll have:

  • Created a working Copilot connector project using the Microsoft 365 Agents Toolkit
  • Connected to a real GitHub repository to pull issue data
  • Successfully ingested GitHub issues into Microsoft Graph
  • Extended your connector with additional properties
  • Verified that Copilot can access and query your indexed data

Let's get started building your first Copilot connector!