>_

LRFA Tools

Scripts · Commands · Shortcuts · DNS · Bookmarks · RFCs

GitHub
← Back to tools

Connect SupportTools to Microsoft 365 Copilot

Set up a dedicated Copilot skill so your team can ask natural language questions about these scripts directly from Teams or the M365 Copilot app — no more searching the website.

What you're building

Before you start

Prerequisites

  • Microsoft 365 Copilot licence (per-user) assigned to the techs
  • M365 Global Admin or Search Admin access to set up connectors
  • GitHub account with read access to lachlanalston/SupportTools
  • Access to Microsoft Copilot Studio to build the agent
1

Step 1 Required

Set up the GitHub Graph Connector

The connector indexes this repo into Microsoft 365's semantic search. It's the data source the Copilot skill will query.

  1. 1.Sign in to the Microsoft 365 Admin Center
  2. 2.Go to Settings → Search & intelligence → Data sources
  3. 3.Select GitHub from the connector list
  4. 4.Authenticate with a GitHub account that has read access to this repo
  5. 5.Set the repository to lachlanalston/SupportTools
  6. 6.Set the crawl schedule to Daily
  7. 7.Save — the initial index takes around 15–30 minutes

Once indexed, the repo content is available to any Copilot experience in Microsoft 365.

2

Step 2 Recommended

Build the Declarative Agent in Copilot Studio

A Declarative Agent gives techs a dedicated named assistant — focused only on SupportTools content. Without it, techs rely on general Copilot to surface the repo from among all M365 content, which is inconsistent.

  1. 1.Open Microsoft Copilot Studio
  2. 2.Create a new Declarative Agent
  3. 3.Set the agent name — e.g. Support Tools
  4. 4.Paste the system instructions below into the agent prompt
  5. 5.Add the GitHub connector (from Step 1) as the knowledge source
  6. 6.Publish to Microsoft 365 and deploy to Teams
  7. 7.Pin the agent in Teams so techs can find it in one click

Agent system instructions — copy and paste

You are a support tools assistant for our MSP helpdesk team. When a technician describes a problem or asks a question, identify the best script from the SupportTools library and explain how to use it. Always include the script name, what it checks, and any relevant flags. If multiple scripts are relevant, list them in order of usefulness. Keep answers concise enough to paste into a ticket note.

3

Step 3 Microsoft Frontier

Enhanced agent features

If your organisation has access to Microsoft Frontier, additional agent capabilities are available in preview — including richer grounding, multi-step reasoning, and tighter integration with Azure AI Foundry. The setup follows the same steps above, but unlocks advanced behaviours in Copilot Studio when building the agent.

Microsoft Frontier is an early access programme for organisations trialling the next generation of M365 Copilot features. Check with your Microsoft account team or admin to confirm your organisation's access level.

Example questions once connected